summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/hist_in_string.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.maps/hist_in_string.stp')
-rw-r--r--testsuite/systemtap.maps/hist_in_string.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/systemtap.maps/hist_in_string.stp b/testsuite/systemtap.maps/hist_in_string.stp
new file mode 100644
index 00000000..f9d0e81a
--- /dev/null
+++ b/testsuite/systemtap.maps/hist_in_string.stp
@@ -0,0 +1,10 @@
+global l
+
+probe begin
+{
+ for (i = 0; i < 128; i++)
+ l <<< 0
+
+ print(sprint(@hist_linear(l, 0, 0, 1)))
+ exit()
+}