1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh # # Test module-name and function-name wildcards. stap -p2 --ignore-dwarf --kelf -e ' global ncall probe module("*").function("*_probe") { printf("%s called\n", probefunc()) if (ncall++ > 50) exit() } probe timer.sec(5) { exit() } '