Debian Codegraph @

testsuite/systemtap.printf/mixed_out.stp

raw
1 # output "large_output" pattern using printf, print, and print_char
2
3 # This should detect any problems in the mixing IO functions,
4 # buffers or transport.
5
6 probe begin
7 {
8 for (j = 0; j < 3000; j++) {
9 print("ABCD")
10 printf("EFGHIJKLM")
11 print("N")
12 printf("O")
13 print("PQRSTUVWXYZ")
14 for (i = 0x61; i <= 0x7a; i++)
15 print_char(i)
16 printf("\n");
17 }
18
19 exit()
20 }