This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 1/4] add case for probe timer
- From: "Zhou, Wenjian/åæå" <zhouwj-fnst at cn dot fujitsu dot com>
- To: David Smith <dsmith at redhat dot com>, "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: <systemtap at sourceware dot org>
- Date: Thu, 26 Nov 2015 16:53:28 +0800
- Subject: Re: [PATCH 1/4] add case for probe timer
- Authentication-results: sourceware.org; auth=none
- References: <1447406704-14585-1-git-send-email-zhouwj-fnst at cn dot fujitsu dot com>
Hello Frank and David,
I try to send essential cases, but I can't make sure all of the cases
are needed.
So I need your help. If you have time, you can tell me why the cases have
no sense, or you can just let me know which are meaningless.
Both will help me a lot.
--
Thanks
Zhou
On 11/13/2015 05:25 PM, Zhou Wenjian wrote:
* 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()
+}