This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 1/4] add case for probe timer
- From: Zhou Wenjian <zhouwj-fnst at cn dot fujitsu dot com>
- To: <systemtap at sourceware dot org>
- Date: Fri, 13 Nov 2015 17:25:01 +0800
- Subject: [PATCH 1/4] add case for probe timer
- Authentication-results: sourceware.org; auth=none
* 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