2 // Copyright (C) 2013 Red Hat Inc.
4 // This file is part of systemtap, and is free software. You can
5 // redistribute it and/or modify it under the terms of the GNU General
6 // Public License (GPL); either version 2, or (at your option) any
9 #ifndef TAPSET_DYNPROBE_H
10 #define TAPSET_DYNPROBE_H
12 // Declare that dynprobes are needed in this session
13 void enable_dynprobes(systemtap_session
& s
);
16 dynprobe_add_uprobe(systemtap_session
& s
, const std::string
& path
,
17 const Dwarf_Addr offset
, const Dwarf_Addr semaphore_addr
,
18 const std::string flags_string
,
19 const std::string probe_init
);
22 dynprobe_add_utrace_path(systemtap_session
& s
, const std::string
& path
,
23 const std::string flags_string
,
24 const std::string probe_init
);
27 dynprobe_add_utrace_pid(systemtap_session
& s
, const Dwarf_Addr pid
,
28 const std::string flags_string
,
29 const std::string probe_init
);
33 dynprobe_add(systemtap_session
& s
, const std::string
& path
,
34 const Dwarf_Addr offset
, const Dwarf_Addr semaphore_addr
,
35 const std::string flags_string
, const std::string probe_init
);
37 #endif // TAPSET_DYNPROBE_H
39 /* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */