☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
semok
/
entry04.stp
☽
☼
testsuite/semok/entry04.stp
code
plain
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
}