summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/global_end.stp
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-09-01 17:25:06 -0400
committerStan Cox <scox@redhat.com>2008-09-01 17:25:06 -0400
commite491a713fa72f536955be51c0222a3f0b1befc82 (patch)
treec4f0138c6e244c00def073f567e9fda13959d996 /testsuite/systemtap.base/global_end.stp
parent5e314609f46deb737967305f59356243cb65c310 (diff)
downloadsystemtap-steved-e491a713fa72f536955be51c0222a3f0b1befc82.tar.gz
systemtap-steved-e491a713fa72f536955be51c0222a3f0b1befc82.tar.xz
systemtap-steved-e491a713fa72f536955be51c0222a3f0b1befc82.zip
Display written but unread global statistics.
Diffstat (limited to 'testsuite/systemtap.base/global_end.stp')
-rw-r--r--testsuite/systemtap.base/global_end.stp11
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/global_end.stp b/testsuite/systemtap.base/global_end.stp
index e9a1eb8f..b26b7c03 100644
--- a/testsuite/systemtap.base/global_end.stp
+++ b/testsuite/systemtap.base/global_end.stp
@@ -1,4 +1,4 @@
-global alpha, beta, gamma, iota
+global alpha, beta, gamma, iota, epsilon
probe begin {
gamma = "abcdefghijklmnopqrstuvwxyz"
@@ -15,6 +15,15 @@ probe begin {
beta["one",2] = 2
beta["two",1] = 3
beta["two",2] = 4
+
+ epsilon["one",1] <<< 1
+ epsilon["one",1] <<< 2
+ epsilon["one",1] <<< 3
+ epsilon["one",1] <<< 4
+ epsilon["two",2] <<< 10
+ epsilon["two",2] <<< 20
+ epsilon["two",2] <<< 30
+ epsilon["two",2] <<< 40
}
probe timer.ms(2000) {