testsuite/semok/pr33428.stp
raw| 1 | #! stap -p2 |
| 2 | |
| 3 | probe module("nfsv3").function("nfs3_proc_access"), kernel.function("do_sys_open") |
| 4 | { |
| 5 | print(@cast(0xf00d, "struct mount")$, "kernel<vmlinux.h") // explicit |
| 6 | print(@cast(0xbeef, "struct mount")$) // implicit "nfsv3"->"kernel<vmlinux.h>:nfsv3" |
| 7 | print(@cast(0xdead, "struct mount")$,"kernel<linux/sched.h>") // explicit ->"kernel<vmlinux.h>:kernel<linux/sched.h>" |
| 8 | } |