summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf05.stp
blob: 83fcfa3d1fad65525ac5142eba76cbfc95ee2eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# The symbol table doesn't give us enough info to map source files to functions.

stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
probe kernel.function("*@kernel/printk.c") {
	printf("%s called\n", probefunc())
	exit()
}

probe timer.sec(15) {
	exit()
}
'