118 lines
4.0 KiB
Diff
118 lines
4.0 KiB
Diff
|
From abc74dca458bb81b81ad40efecda69a6fa28fd3c Mon Sep 17 00:00:00 2001
|
||
|
From: John Kacur <jkacur@redhat.com>
|
||
|
Date: Sat, 14 Sep 2019 04:57:35 +0200
|
||
|
Subject: [PATCH] rt-tests: cyclictest.8: Remove invalid tracing options from
|
||
|
the manpage
|
||
|
|
||
|
Most tracing options have been removed from cyclictest since the
|
||
|
user can now use trace-cmd together with cyclictest to get the same
|
||
|
functionality. Update the manpage to reflect this.
|
||
|
|
||
|
Reported-by: Tom Rix <trix@redhat.com>
|
||
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
||
|
---
|
||
|
src/cyclictest/cyclictest.8 | 35 -----------------------------------
|
||
|
1 file changed, 35 deletions(-)
|
||
|
|
||
|
diff --git a/src/cyclictest/cyclictest.8 b/src/cyclictest/cyclictest.8
|
||
|
index a05d1f4c9d4a..b64a16ae8bbb 100644
|
||
|
--- a/src/cyclictest/cyclictest.8
|
||
|
+++ b/src/cyclictest/cyclictest.8
|
||
|
@@ -52,9 +52,6 @@ Align thread wakeups to a specific offset in microseconds
|
||
|
.B \-b, \-\-breaktrace=USEC
|
||
|
Send break trace command when latency > USEC
|
||
|
.TP
|
||
|
-.B \-B, \-\-preemptirqs
|
||
|
-Both preempt and irqsoff tracing (used with -b)
|
||
|
-.TP
|
||
|
.B \-c, \-\-clock=CLOCK
|
||
|
select clock
|
||
|
.br
|
||
|
@@ -62,9 +59,6 @@ select clock
|
||
|
.br
|
||
|
1 = CLOCK_REALTIME
|
||
|
.TP
|
||
|
-.B \-C, \-\-context
|
||
|
-context switch tracing (used with \-b)
|
||
|
-.TP
|
||
|
.B \-d, \-\-distance=DIST
|
||
|
Distance of thread intervals in us, default = 500
|
||
|
.TP
|
||
|
@@ -73,12 +67,6 @@ Specify a length for the test run.
|
||
|
.br
|
||
|
Append 'm', 'h', or 'd' to specify minutes, hours or days.
|
||
|
.TP
|
||
|
-.B \-E, \-\-event
|
||
|
-event tracing (used with \-b)
|
||
|
-.TP
|
||
|
-.B \-f, \-\-ftrace
|
||
|
-Enable function tracing using ftrace as tracer. This option is available only with \-b.
|
||
|
-.TP
|
||
|
.B \-F, \-\-fifo=<path>
|
||
|
Create a named pipe at path and write stats to it
|
||
|
.TP
|
||
|
@@ -94,9 +82,6 @@ Dump the latency histogram to <path> instead of stdout.
|
||
|
.B \-i, \-\-interval=INTV
|
||
|
Set the base interval of the thread(s) in microseconds (default is 1000us). This sets the interval of the first thread. See also \-d.
|
||
|
.TP
|
||
|
-.B \-I, \-\-irqsoff
|
||
|
-Irgsoff tracing (used with \-b)
|
||
|
-.TP
|
||
|
.B \-l, \-\-loops=LOOPS
|
||
|
Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles. Cyclictest is stopped once the number of timer intervals has been reached.
|
||
|
.TP
|
||
|
@@ -113,26 +98,16 @@ running cyclictest on low-bandwidth connections)
|
||
|
.B \-n, \-\-nanosleep
|
||
|
Use clock_nanosleep instead of posix interval timers. Setting this option runs the tests with clock_nanosleep instead of posix interval timers.
|
||
|
.TP
|
||
|
-.B \-\-notrace
|
||
|
-suppress tracing
|
||
|
-.TP
|
||
|
.B \-N, \-\-nsecs
|
||
|
Show results in nanoseconds instead of microseconds, which is the default unit.
|
||
|
.TP
|
||
|
.B \-o, \-\-oscope=RED
|
||
|
Oscilloscope mode, reduce verbose output by RED.
|
||
|
.TP
|
||
|
-.B \-O, \-\-traceopt=TRACING_OPTION
|
||
|
-Used to pass tracing options to ftrace tracers. May be invoked multiple
|
||
|
-times for multiple trace options. For example trace options look at /sys/kernel/debug/tracing/trace_options
|
||
|
-.TP
|
||
|
.B \-p, \-\-prio=PRIO
|
||
|
Set the priority of the first thread. The given priority is set to the first test thread. Each further thread gets a lower priority:
|
||
|
Priority(Thread N) = max(Priority(Thread N\-1) \- 1, 0)
|
||
|
.TP
|
||
|
-.B \-P, \-\-preemptoff
|
||
|
-Preempt off tracing (used with -b)
|
||
|
-.TP
|
||
|
.B \-\-policy=NAME
|
||
|
set the scheduler policy of the measurement threads
|
||
|
where NAME is one of: other, normal, batch, idle, fifo, rr
|
||
|
@@ -178,10 +153,6 @@ the number of available CPUs. See \-d, \-i and \-p for further information.
|
||
|
.B \-\-tracemark
|
||
|
write a trace mark when \-b latency is exceeded.
|
||
|
.TP
|
||
|
-.B \-T, \-\-tracer=TRACEFUNC
|
||
|
-set the ftrace tracer function. Used with the \-b option. Must be one
|
||
|
-of the trace functions available from <debugfs-mountpoint>/kernel/debug/tracing/available_tracers
|
||
|
-.TP
|
||
|
.B \-u, \-\-unbuffered
|
||
|
force unbuffered output for live processing
|
||
|
.TP
|
||
|
@@ -192,12 +163,6 @@ n:c:v
|
||
|
|
||
|
where n=task number c=count v=latency value in us.
|
||
|
.TP
|
||
|
-.B \\-w, \-\-wakeup
|
||
|
-task wakeup tracing (used with \-b)
|
||
|
-.TP
|
||
|
-.B \\-W, \-\-wakeuprt
|
||
|
-rt-task wakeup tracing (used with \-b)
|
||
|
-.TP
|
||
|
.B \-\-dbg_cyclictest
|
||
|
Print info userful for debugging cyclictest
|
||
|
|
||
|
--
|
||
|
2.20.1
|
||
|
|