summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/deref2.stp
blob: 0008bae7ba0113fd10fb0e65c0123183847e6bfc (plain)
1
2
3
4
5
6
7
8
9
# PR 3331

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