☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.bpf
/
bpf_tests
/
sprintf.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.bpf/bpf_tests/sprintf.stp
code
plain
raw
1
probe begin {
2
printf("BEGIN\n")
3
for (i = 0; i < 10; i++) {
4
x = sprintf("%d", i)
5
printf("%s", x)
6
}
7
exit()
8
}
9
10
probe end {
11
for (i = 0; i < 10; i++) {
12
x = sprintf("%d", i)
13
printf("%s", x)
14
}
15
printf("END\n")
16
}