91 lines
2.9 KiB
Diff
91 lines
2.9 KiB
Diff
From f90391d1907279150c15c5e0afeeb4291943f636 Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Thu, 16 Jan 2020 17:59:26 +0100
|
|
Subject: [PATCH] rt-tests: cyclicdeadline: Add a simple manpage for
|
|
cyclicdeadline
|
|
|
|
- Add a simple manpage for cyclicdeadline
|
|
- Install it from the Makefile
|
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
---
|
|
Makefile | 1 +
|
|
src/sched_deadline/cyclicdeadline.8 | 53 +++++++++++++++++++++++++++++
|
|
2 files changed, 54 insertions(+)
|
|
create mode 100644 src/sched_deadline/cyclicdeadline.8
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 552b3fe885cc..e2142ba3f4e9 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -193,6 +193,7 @@ install: all install_hwlatdetect
|
|
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"
|
|
+ gzip -c src/sched_deadline/cyclicdeadline.8 >"$(DESTDIR)$(mandir)/man8/cyclicdeadline.8.gz"
|
|
|
|
.PHONY: install_hwlatdetect
|
|
install_hwlatdetect: hwlatdetect
|
|
diff --git a/src/sched_deadline/cyclicdeadline.8 b/src/sched_deadline/cyclicdeadline.8
|
|
new file mode 100644
|
|
index 000000000000..91766fb391c4
|
|
--- /dev/null
|
|
+++ b/src/sched_deadline/cyclicdeadline.8
|
|
@@ -0,0 +1,53 @@
|
|
+.\" Hey, EMACS: -*- nroff -*-
|
|
+.TH CYCLICDEADLINE 8 "January 16, 2020"
|
|
+.\" Please adjust this date whenever revising the manpage.
|
|
+.\"
|
|
+.\" Some roff macros, for reference:
|
|
+.\" .nh disable hyphenation
|
|
+.\" .hy enable hyphenation
|
|
+.\" .ad l left justify
|
|
+.\" .ad b justify to both left and right margins
|
|
+.\" .nf disable filling
|
|
+.\" .fi enable filling
|
|
+.\" .br insert line break
|
|
+.\" .sp <n> insert n+1 empty lines
|
|
+.\" for manpage-specific macros, see man(7)
|
|
+.SH NAME
|
|
+cyclicdeadline \- This program is used to test the deadline scheduler (SCHED_DEADLINE) using a cyclictest style program
|
|
+.PP
|
|
+.SH SYNOPSIS
|
|
+.B cyclicdeadline
|
|
+.RI "[-ha] [-c cpulist] [-i interval] [-s step] [-t nr_threads] [-D duration]
|
|
+.PP
|
|
+.SH DESCRIPTION
|
|
+.B cyclicdeadline
|
|
+is a cyclictest style program for testing the deadline scheduler
|
|
+.PP
|
|
+.SH OPTIONS
|
|
+.TP
|
|
+.B \-h
|
|
+Show this help menu
|
|
+.TP
|
|
+.B \-a
|
|
+Use all CPUs
|
|
+.TP
|
|
+.B \-c cpulist
|
|
+Comma / hypen separated list of CPUs to run deadline tasks on
|
|
+.TP
|
|
+.B \-i interval
|
|
+The shortest deadline for the tasks in us. (default 1000us)
|
|
+.TP
|
|
+.B \-s step
|
|
+The amount to increase the deadline for each task in us. (default 500us)
|
|
+.TP
|
|
+.B \-t nr_threads
|
|
+The number of threads to run as deadline (default 1)
|
|
+.TP
|
|
+.B \-D time
|
|
+Specify a length for the test to run
|
|
+.br
|
|
+Append 'm', 'h', or 'd' to specify minutes, hours, or days
|
|
+.SH AUTHOR
|
|
+cyclicdeadline was written by Steven Rostedt <rostedt@goodmis.org>
|
|
+.PP
|
|
+This manual page was written by John Kacur <jkacur@redhat.com>
|
|
--
|
|
2.20.1
|
|
|