1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* * kprobes.stp * Probe to test the functionality of kprobe-based probes * (Dwarfless Probing) */ probe begin { println("systemtap starting probe"); } probe kprobe.function("vfs_read") { exit(); } probe end { println("systemtap ending probe"); }