]>
Commit | Line | Data |
---|---|---|
f31a77f5 DS |
1 | // -*- C++ -*- |
2 | // Copyright (C) 2013 Red Hat Inc. | |
3 | // | |
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 | |
7 | // later version. | |
8 | ||
9 | #ifndef TAPSET_DYNPROBE_H | |
10 | #define TAPSET_DYNPROBE_H | |
11 | ||
12 | // Declare that dynprobes are needed in this session | |
13 | void enable_dynprobes(systemtap_session& s); | |
14 | ||
15 | void | |
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); | |
20 | ||
21 | void | |
22 | dynprobe_add_utrace_path(systemtap_session& s, const std::string& path, | |
23 | const std::string flags_string, | |
24 | const std::string probe_init); | |
25 | ||
26 | void | |
27 | dynprobe_add_utrace_pid(systemtap_session& s, const Dwarf_Addr pid, | |
28 | const std::string flags_string, | |
29 | const std::string probe_init); | |
30 | ||
31 | ||
32 | void | |
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); | |
36 | ||
37 | #endif // TAPSET_DYNPROBE_H | |
38 | ||
39 | /* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ |