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

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

probe begin 
{
  for (j = 0; j < 3000; j++) {
    for (i = 0x41; i <= 0x5a; i++)
      print_char(i)
    for (i = 0x61; i <= 0x7a; i++)
      print_char(i)
    print_char(10);
  }

  exit()
}