Debian Codegraph @

testsuite/semok/entry02.stp

raw
1 #! stap -p2
2
3 global stat
4
5 # @entry can be optimized away from bad locations if the result is not used.
6 probe begin {
7 stat <<< get_cycles();
8 - @entry(get_cycles())
9 exit()
10 }