summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/nodwf07.stp
blob: d886ac79259d266ba87e28ac74709b1bba66d55d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# Test module-name and function-name wildcards.

stap -p2 --ignore-dwarf --kelf -e '
global ncall

probe module("*").function("*_probe") {
	printf("%s called\n", probefunc())
	if (ncall++ > 50)
		exit()
}

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