summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/ix_hist.stp
blob: 2d0a3b173ccf1e6b468186236f8fbbfb28393f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# test of int maps containing stats

global foo

probe begin {
	for (i=0;i<5;i++)
		for (j=0;j<i*128;j++)
			foo[i] <<< i*j

	foreach (i+ in foo)
	 	print(@hist_log(foo[i])) 

	exit()
}