diff options
author | Kent Sebastian <ksebasti@redhat.com> | 2009-07-31 14:45:10 -0400 |
---|---|---|
committer | Kent Sebastian <ksebasti@redhat.com> | 2009-07-31 14:45:10 -0400 |
commit | ce91eebdf6c262a0235bdd2d3ad3acd0805bf02a (patch) | |
tree | 7ca9eef90de8b29a1a977530d623ec7240740db5 /runtime/staprun/staprun.h | |
parent | f1312b2c2bc1ec7b0475a251f27a2f75779f4ccb (diff) | |
download | systemtap-steved-ce91eebdf6c262a0235bdd2d3ad3acd0805bf02a.tar.gz systemtap-steved-ce91eebdf6c262a0235bdd2d3ad3acd0805bf02a.tar.xz systemtap-steved-ce91eebdf6c262a0235bdd2d3ad3acd0805bf02a.zip |
PR10204: Place userspace markers in systemtap itself
* cache.cxx (add_to_cache,clean_cache): add static markers
* main.cxx (main): likewise
* runtime/staprun/common.c (send_request): likewise
* runtime/staprun/mainloop.c (stp_main_loop): likewise
* runtime/staprun/staprun.c (remove_module): likewise
* runtime/staprun/staprun.h: include sdt.h
* runtime/staprun/staprun_funcs.c (insert_module): likewise
* util.cxx (stap_system): likewise
* tapset/stap_staticmarkers.stp: new file
Diffstat (limited to 'runtime/staprun/staprun.h')
-rw-r--r-- | runtime/staprun/staprun.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h index 3c9dab3f..1c9aece8 100644 --- a/runtime/staprun/staprun.h +++ b/runtime/staprun/staprun.h @@ -38,6 +38,9 @@ /* Include config.h to pick up dependency for --prefix usage. */ #include "config.h" +/* For STAP_PROBE in staprun.c, staprun_funcs.c, mainloop.c and common.c */ +#include "sys/sdt.h" + extern void eprintf(const char *fmt, ...); extern void switch_syslog(const char *name); |