summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.printf/mixed_out.stp
blob: 64cd16ef2f061bfaa897e72872b4e03054519431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# output "large_output" pattern using printf, print, and print_char

# This should detect any problems in the mixing IO functions,
# buffers or transport.

probe begin 
{
  for (j = 0; j < 3000; j++) {
    print("ABCD")
    printf("EFGHIJKLM")
    print("N")
    printf("O")
    print("PQRSTUVWXYZ")
    for (i = 0x61; i <= 0x7a; i++)
      print_char(i)
    printf("\n");
  }

  exit()
}