summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cxxclass.stp
blob: f36be72bd458563bec85fa9575a52d6202152d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
probe process("cxxclass.exe").mark("main_enter")
{
  log("main_enter");
}

probe process("cxxclass.exe").mark("main_exit")
{
  log("main_exit");
}

probe process("cxxclass.exe").mark("call")
{
  printf("call: %d\n", $arg1);
}

probe process("cxxclass.exe").mark("call2")
{
  printf("call2: %d\n", $arg1);
}

probe process("cxxclass.exe").mark("cons")
{
  printf("cons %s: %d\n", user_string($arg1), $arg2);
}

probe process("cxxclass.exe").mark("meth")
{
  printf("meth %s: %d %d\n", user_string($arg1), $arg2, $arg3);
}

probe process("cxxclass.exe").mark("dest")
{
  printf("dest %s: %d\n", user_string($arg1), $arg2);
}