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/mainloop.c | |
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/mainloop.c')
-rw-r--r-- | runtime/staprun/mainloop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/staprun/mainloop.c b/runtime/staprun/mainloop.c index 7125a7bb..45b142bc 100644 --- a/runtime/staprun/mainloop.c +++ b/runtime/staprun/mainloop.c @@ -485,6 +485,7 @@ int stp_main_loop(void) type = *(uint32_t *) recvbuf; data = (void *)(recvbuf + sizeof(uint32_t)); nb -= sizeof(uint32_t); + STAP_PROBE3(staprun, recv__ctlmsg, type, data, nb); switch (type) { #if STP_TRANSPORT_VERSION == 1 |