summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/syscalls.stp
blob: 3ccfb8e5225393628963388a6d903fd99ecc5c0d (plain)
1
2
3
4
5
6
7
#! stap 

global count
probe kernel.function("sys_*").call {
	printf("%d %s\n", pid(), pp())
	if (++count > 100) exit()
}