This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/4] add case for probe timer


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()
+}




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]