summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf09.stp
blob: e103833f1a224012606d1666e9b8f869b9a2033c (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 evaluate target variables.

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

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