Debian Codegraph @

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

raw
1 probe foo = process.function("test")
2 {
3 },
4 {
5 if(@probewrite($a))
6 println("PASS")
7 else
8 println("FAIL")
9 }
10
11 probe foo {
12 $a = 0
13 }