Debian Codegraph @

testsuite/semok/entry04.stp

raw
1 #! stap -Wp2
2
3 global stat
4
5 # dwarfless .return probes can use @entry
6 probe kprobe.function("do_filp_open").return?,
7 kprobe.function("filp_open").return?
8 {
9 stat[pp()] <<< get_cycles() - @entry(get_cycles())
10 }