summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/linear_under.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.maps/linear_under.exp')
-rw-r--r--testsuite/systemtap.maps/linear_under.exp18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/systemtap.maps/linear_under.exp b/testsuite/systemtap.maps/linear_under.exp
new file mode 100644
index 00000000..39514241
--- /dev/null
+++ b/testsuite/systemtap.maps/linear_under.exp
@@ -0,0 +1,18 @@
+# Test linear histogram
+
+set test "linear_under"
+set ::result_string {count=100
+sum=4950
+min=0
+max=99
+avg=49
+value |-------------------------------------------------- count
+ 1800 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 100
+ 1900 | 0
+ 2000 | 0
+
+}
+
+stap_run2 $srcdir/$subdir/$test.stp -DMAXACTION=10000
+
+