Debian Codegraph @

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

raw
1 probe begin
2 {
3 println("systemtap starting probe")
4 }
5
6 probe process.function("main")
7 {
8 println("systemtap ending probe")
9
10 if (@uderef(4, $foo_ptr) != $foo)
11 println("systemtap test failure")
12 else
13 println("systemtap test success")
14 exit()
15 }