#! stap -Wp2 global stat # dwarfless .return probes can use @entry probe kprobe.function("do_filp_open").return?, kprobe.function("filp_open").return? { stat[pp()] <<< get_cycles() - @entry(get_cycles()) }