[PATCH 1/4] add case for probe timer
Zhou Wenjian
zhouwj-fnst@cn.fujitsu.com
Fri Nov 13 09:26:00 GMT 2015
* testsuite/semko/timer_hz_randomize.stp: New test case
---
testsuite/semko/timer_hz_randomize.stp | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100755 testsuite/semko/timer_hz_randomize.stp
diff --git a/testsuite/semko/timer_hz_randomize.stp b/testsuite/semko/timer_hz_randomize.stp
new file mode 100755
index 0000000..c4d4c6a
--- /dev/null
+++ b/testsuite/semko/timer_hz_randomize.stp
@@ -0,0 +1,6 @@
+#! stap -p2
+
+probe timer.hz(1000).randomize(500) {
+ printf("%s\n", "timer_hz")
+ exit()
+}
--
1.8.3.1
More information about the Systemtap
mailing list