Debian Codegraph @

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

raw
1 # PR 3331
2
3 # It's just an ordinary function that returns a 4-byte signed value,
4 # even on a 64-bit hosts.
5 probe kernel.function("sock_alloc_fd").return {
6 println ($return < 0 ? "neg" : "pos")
7 }
8 probe timer.s (5) { exit () }
9 probe begin { println ("start") }