☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.maps
/
ix_hist.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.maps/ix_hist.stp
code
plain
raw
1
# test of int maps containing stats
2
3
global foo
4
5
probe begin {
6
for (i=0;i<5;i++)
7
for (j=0;j<i*128;j++)
8
foo[i] <<< i*j
9
10
foreach (i+ in foo)
11
print(@hist_log(foo[i]))
12
13
exit()
14
}
15