summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf06.stp
blob: 7318cbec884e6525b0952d0dee6c803c9f901ca4 (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 probe statements.

stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
probe kernel.statement("*@kernel/printk.c:639") {
	printf("probe hit: %s\n", pp())
	exit()
}

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