Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/cxxclass.stp

raw
1 probe process("cxxclass.exe").mark("main_enter")
2 {
3 log("main_enter");
4 }
5
6 probe process("cxxclass.exe").mark("main_exit")
7 {
8 log("main_exit");
9 }
10
11 probe process("cxxclass.exe").mark("call")
12 {
13 printf("call: %d\n", $arg1);
14 }
15
16 probe process("cxxclass.exe").mark("call2")
17 {
18 printf("call2: %d\n", $arg1);
19 }
20
21 probe process("cxxclass.exe").mark("cons")
22 {
23 printf("cons %s: %d\n", user_string($arg1), $arg2);
24 }
25
26 probe process("cxxclass.exe").mark("meth")
27 {
28 printf("meth %s: %d %d\n", user_string($arg1), $arg2, $arg3);
29 }
30
31 probe process("cxxclass.exe").mark("dest")
32 {
33 printf("dest %s: %d\n", user_string($arg1), $arg2);
34 }