summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf08.stp
blob: 4b6d9da59a6a88a5811421fb620a367ba6b0c0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# The regular blacklist should thwart this.

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

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