mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00

Add -e/--event option. This option enables an event in the trace (-t) session. The argument can be a specific event, e.g., -e sched:sched_switch, or all events of a system group, e.g., -e sched. Multiple -e are allowed. It is only active when -t or -a are set. This option is available for all current tools. Link: https://lkml.kernel.org/r/6a3b753be9b1e811953995f7f21a86918ad13390.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>
32 lines
1.1 KiB
ReStructuredText
32 lines
1.1 KiB
ReStructuredText
**-c**, **--cpus** *cpu-list*
|
|
|
|
Set the osnoise tracer to run the sample threads in the cpu-list.
|
|
|
|
**-d**, **--duration** *time[s|m|h|d]*
|
|
|
|
Set the duration of the session.
|
|
|
|
**-D**, **--debug**
|
|
|
|
Print debug info.
|
|
|
|
**-t**, **--trace**\[*=file*]
|
|
|
|
Save the stopped trace to [*file|osnoise_trace.txt*].
|
|
|
|
**-e**, **--event** *sys:event*
|
|
|
|
Enable an event in the trace (**-t**) session. The argument can be a specific event, e.g., **-e** *sched:sched_switch*, or all events of a system group, e.g., **-e** *sched*. Multiple **-e** are allowed. It is only active when **-t** or **-a** are set.
|
|
|
|
**-P**, **--priority** *o:prio|r:prio|f:prio|d:runtime:period*
|
|
|
|
Set scheduling parameters to the osnoise tracer threads, the format to set the priority are:
|
|
|
|
- *o:prio* - use SCHED_OTHER with *prio*;
|
|
- *r:prio* - use SCHED_RR with *prio*;
|
|
- *f:prio* - use SCHED_FIFO with *prio*;
|
|
- *d:runtime[us|ms|s]:period[us|ms|s]* - use SCHED_DEADLINE with *runtime* and *period* in nanoseconds.
|
|
|
|
**-h**, **--help**
|
|
|
|
Print help menu.
|