Debian Codegraph @

testsuite/semok/badvar_undefined.stp

raw
1 #!/bin/sh
2
3 # PR11346: We shouldn't even see a warning when a would-be skip-badvars
4 # replacement is masked by a @defined condition.
5
6 stap $@ -W -p2 --skip-badvars -e 'probe kernel.function("do_sys_getxattr")
7 { printf("%s\n", user_string(@defined($pathname) ? $pathname : $path)) }'