forked from Minki/linux
2b622edd5e
Add the -a/--auto <arg in us> option. This option sets some commonly used options while debugging the system. It aims to help users produce reports in the field, reducing the number of arguments passed to the tool in the first approach to a problem. It is equivalent to setting osnoise/stop_tracing_us with the argument, setting tracing_thresh to 1 us, and saving the trace to osnoise_trace.txt file if the trace is stopped automatically. Link: https://lkml.kernel.org/r/ef04c961b227eb93a83cd0b54bfca45e1a381b77.1646247211.git.bristot@kernel.org Cc: Daniel Bristot de Oliveira <bristot@kernel.org> Cc: Clark Williams <williams@redhat.com> Cc: Juri Lelli <juri.lelli@redhat.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
28 lines
886 B
ReStructuredText
28 lines
886 B
ReStructuredText
**-a**, **--auto** *us*
|
|
|
|
Set the automatic trace mode. This mode sets some commonly used options
|
|
while debugging the system. It is equivalent to use **-s** *us* **-T 1 -t**.
|
|
|
|
**-p**, **--period** *us*
|
|
|
|
Set the *osnoise* tracer period in microseconds.
|
|
|
|
**-r**, **--runtime** *us*
|
|
|
|
Set the *osnoise* tracer runtime in microseconds.
|
|
|
|
**-s**, **--stop** *us*
|
|
|
|
Stop the trace if a single sample is higher than the argument in microseconds.
|
|
If **-T** is set, it will also save the trace to the output.
|
|
|
|
**-S**, **--stop-total** *us*
|
|
|
|
Stop the trace if the total sample is higher than the argument in microseconds.
|
|
If **-T** is set, it will also save the trace to the output.
|
|
|
|
**-T**, **--threshold** *us*
|
|
|
|
Specify the minimum delta between two time reads to be considered noise.
|
|
The default threshold is *5 us*.
|