summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/common.c
diff options
context:
space:
mode:
authorKent Sebastian <ksebasti@redhat.com>2009-07-31 14:45:10 -0400
committerKent Sebastian <ksebasti@redhat.com>2009-07-31 14:45:10 -0400
commitce91eebdf6c262a0235bdd2d3ad3acd0805bf02a (patch)
tree7ca9eef90de8b29a1a977530d623ec7240740db5 /runtime/staprun/common.c
parentf1312b2c2bc1ec7b0475a251f27a2f75779f4ccb (diff)
downloadsystemtap-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/common.c')
-rw-r--r--runtime/staprun/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/staprun/common.c b/runtime/staprun/common.c
index 5c4a8431..afe96606 100644
--- a/runtime/staprun/common.c
+++ b/runtime/staprun/common.c
@@ -450,6 +450,7 @@ int send_request(int type, void *data, int len)
char buf[1024];
int rc = 0;
+ STAP_PROBE3(stapio, send__ctlmsg, type, data, len);
/* Before doing memcpy, make sure 'buf' is big enough. */
if ((len + 4) > (int)sizeof(buf)) {
_err("exceeded maximum send_request size.\n");