Debian Codegraph @

testsuite/systemtap.printf/string2.stp

raw
1 probe begin
2 {
3 # 50 chars
4 s = "12345678901234567890123456789012345678901234567890"
5 # 100 chars
6 t = s.s
7 printf("s is <%s>\n", s);
8 printf("t is <%s>\n", t);
9 for (i = 0; i < 100; i++)
10 printf("%2d: %s\n", i, t);
11 exit()
12 }