blob: 6b66f2e9935829d66c9b5302b8f246f43b048acb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# --kelf doesn't work if vmlinux can't be found.
stap -p2 --ignore-vmlinux --kelf -e '
probe kernel.function("printk") {
printf("%s called\n", probefunc())
exit()
}
probe timer.sec(30) {
exit()
}
'
|