1 2 3 4 5 6 7 8
#! stap -p2 # read access to target variables should work in .return probes probe kernel.function("sys_read").return { printf("fd is %d\n", $fd) }