diff options
Diffstat (limited to 'testsuite/semok/nodwf06.stp')
-rwxr-xr-x | testsuite/semok/nodwf06.stp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semok/nodwf06.stp b/testsuite/semok/nodwf06.stp new file mode 100755 index 00000000..d27e3f84 --- /dev/null +++ b/testsuite/semok/nodwf06.stp @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Test function-name wildcard. +# Like nodwf03.stp, but extract the symbol table from vmlinux. + +stap -p2 --ignore-dwarf --kelf -e ' +global ncall + +probe kernel.function("sys_*") { + printf("%s called\n", probefunc()) + if (ncall++ > 50) + exit() +} +' |