summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/end1.stp
blob: d2ab09f78ff14d55dded338f93993a4a6a856878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# output "large_output" pattern using printf.

# This should detect any problems in the printf code, output
# buffers or transport.

# This is the same as "out1.stp" except output is at the end probe.
# We need this test to be sure all output from end probes gets written
# before terminating.

probe begin {
	exit()
}

probe end
{
  for (j = 0; j < 3000; j++)
    printf("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\n")
}