summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/basic5.stp
blob: 8ddb089dc061f23786cecf08d3383ac51bcf5042 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This test is really a transport test.
# Waiting one second makes sure the two probes
# send the data in different packets, at least
# with procfs.

probe begin 
{
	printf("Hello");
	printf("World");
}

probe timer.ms(1000)
{
	exit()
}

probe end 
{
	printf("Hello");
	printf("World");	
	exit()
}