summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/gtod.stp
blob: f252dc0a446e51506f448be4e61497032257b505 (plain)
1
2
3
4
5
6
7
8
global count = 0

probe syscall.setsid {
	if (pid() == target()) {
		printf("%014d :%02d kern\n", gettimeofday_us(), count);
		count ++;
	}
}