linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rt-tests: ssdd: Add a simple manpage for ssdd
@ 2019-06-14 13:06 John Kacur
  0 siblings, 0 replies; only message in thread
From: John Kacur @ 2019-06-14 13:06 UTC (permalink / raw)
  To: Joe Korty; +Cc: rt-users, Clark Williams, John Kacur

Add a simple manpage to rt-tests for ssdd, and modify the manpage to
install it

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 Makefile        |  1 +
 src/ssdd/ssdd.8 | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 src/ssdd/ssdd.8

diff --git a/Makefile b/Makefile
index ea80923918f7..0258fe9b6dfd 100644
--- a/Makefile
+++ b/Makefile
@@ -194,6 +194,7 @@ install: all install_hwlatdetect
 	gzip -c src/pi_tests/pip_stress.8 >"$(DESTDIR)$(mandir)/man8/pip_stress.8.gz"
 	gzip -c src/queuelat/queuelat.8 >"$(DESTDIR)$(mandir)/man8/queuelat.8.gz"
 	gzip -c src/sched_deadline/deadline_test.8 >"$(DESTDIR)$(mandir)/man8/deadline_test.8.gz"
+	gzip -c src/ssdd/ssdd.8 >"$(DESTDIR)$(mandir)/man8/ssdd.8.gz"
 
 .PHONY: install_hwlatdetect
 install_hwlatdetect: hwlatdetect
diff --git a/src/ssdd/ssdd.8 b/src/ssdd/ssdd.8
new file mode 100644
index 000000000000..44638489f0d1
--- /dev/null
+++ b/src/ssdd/ssdd.8
@@ -0,0 +1,29 @@
+.TH SSDD 8 "June 13, 2019"
+.SH NAME
+ssdd \- have a tracer do a bunch of PTRACE_SINGLESTEPs
+.SH SYNOPSIS
+.B ssdd
+.RI "[nforks] [niters]"
+.SH DESCRIPTION
+Have a tracer do a bunch of PTRACE_SINGLESTEPs against
+a tracee as fast as possible.  Create several of these
+tracer/tracee pairs and see if they can be made to
+interfere with each other.
+The tracer waits on each PTRACE_SINGLESTEP with a waitpid(2)
+and checks that waitpid's return values for correctness.
+.SH OPTIONS
+.B nforks
+number of tracer/tracee pairs to fork off.
+Default is 10.
+.br
+.TP
+.B niters
+number of PTRACE_SINGLESTEP iterations to
+do before declaring success, for each tracer/
+tracee pair set up. Default is 10,000.
+
+.SH AUTHOR
+ssdd was written by Joe Korty <joe.korty@concurrent-rt.com>
+.PP
+This manual page was written by John Kacur <jkacur@redhat.com>
+
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-14 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 13:06 [PATCH] rt-tests: ssdd: Add a simple manpage for ssdd John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).