summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/fourteen.stp
diff options
context:
space:
mode:
authorfche <fche>2006-12-30 03:54:51 +0000
committerfche <fche>2006-12-30 03:54:51 +0000
commitdbb686641c390c199e53ab94c1b365df1a62e2b9 (patch)
treed6a743a0043e2652a65051c186f6827a0c976e2b /testsuite/buildok/fourteen.stp
parent5282f2bda20be7380a06afc339538d64c5e8e611 (diff)
downloadsystemtap-steved-dbb686641c390c199e53ab94c1b365df1a62e2b9.tar.gz
systemtap-steved-dbb686641c390c199e53ab94c1b365df1a62e2b9.tar.xz
systemtap-steved-dbb686641c390c199e53ab94c1b365df1a62e2b9.zip
2006-12-29 Frank Ch. Eigler <fche@redhat.com>
PR 3523. * tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore support for -t (benchmarking) mode. * translate.cxx (emit_common_header,emit_module_init):Ditto. (emit_module_exit,emit_probe): Ditto, with most meat here. 2006-12-29 Frank Ch. Eigler <fche@redhat.com> PR 3523. * buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test. * systemtap.base/bench.stp: Work around randomized-ordered probes. * systemtap.base/bench.exp: Tighten output requirements.
Diffstat (limited to 'testsuite/buildok/fourteen.stp')
-rwxr-xr-xtestsuite/buildok/fourteen.stp3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/buildok/fourteen.stp b/testsuite/buildok/fourteen.stp
index 86b3dad2..2a7b6001 100755
--- a/testsuite/buildok/fourteen.stp
+++ b/testsuite/buildok/fourteen.stp
@@ -1,5 +1,8 @@
#! stap -p4
+# NB: beyond just checking for timer compilability, this test also plays
+# with duplicate probe elimination logic. See also fourteen+.stp
+
global i, j
probe timer.jiffies(100) { i++ }
probe timer.jiffies(100).randomize(100) { j++ }