Debian Codegraph @

testsuite/semok/kretprobe-data.stp

raw
1 #! stap -p2
2
3 # On kernels with kretprobe data-pouch, we have a tricky situation
4 # with data types. Make sure a few different cases will work...
5 probe kernel.function("kern_path_create").return !,
6 kernel.function("do_path_lookup").return !,
7 kernel.function("path_lookup").return
8 {
9 if (@defined($path)) {
10 println($path)
11 println($path$)
12 }
13 else {
14 println($nd)
15 println($nd$)
16 }
17 println($$parms)
18 }