Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.maps/linear_large_neg.exp

raw
1 # Test linear histogram with large negative numbers
2
3 set test "linear_large_neg"
4 set ::result_string {count=13
5 sum=-16700000000
6 min=-10000000000
7 max=0
8 avg=-1284615384
9 value |-------------------------------------------------- count
10 <-1000000000 |@ 1
11 -1000000000 |@@@@ 4
12 -900000000 | 0
13 -800000000 | 0
14 -700000000 | 0
15 -600000000 | 0
16 -500000000 |@@@@@ 5
17 -400000000 | 0
18 -300000000 | 0
19 -200000000 | 0
20 -100000000 |@@ 2
21 0 |@ 1
22 }
23
24 foreach runtime [get_runtime_list] {
25 if {$runtime != ""} {
26 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime
27 } else {
28 stap_run2 $srcdir/$subdir/$test.stp
29 }
30 }