xref: /linux/Documentation/tools/rtla/common_options.rst (revision 51d64c3a181938da8fb56404524e15776e9c6bf8)
1b1be4830SDaniel Bristot de Oliveira**-c**, **--cpus** *cpu-list*
2b1be4830SDaniel Bristot de Oliveira
3b1be4830SDaniel Bristot de Oliveira        Set the osnoise tracer to run the sample threads in the cpu-list.
4b1be4830SDaniel Bristot de Oliveira
5b1be4830SDaniel Bristot de Oliveira**-d**, **--duration** *time[s|m|h|d]*
6b1be4830SDaniel Bristot de Oliveira
7b1be4830SDaniel Bristot de Oliveira        Set the duration of the session.
8b1be4830SDaniel Bristot de Oliveira
9b1be4830SDaniel Bristot de Oliveira**-D**, **--debug**
10b1be4830SDaniel Bristot de Oliveira
11b1be4830SDaniel Bristot de Oliveira        Print debug info.
12b1be4830SDaniel Bristot de Oliveira
13b1be4830SDaniel Bristot de Oliveira**-t**, **--trace**\[*=file*]
14b1be4830SDaniel Bristot de Oliveira
15b1be4830SDaniel Bristot de Oliveira        Save the stopped trace to [*file|osnoise_trace.txt*].
16b1be4830SDaniel Bristot de Oliveira
17*51d64c3aSDaniel Bristot de Oliveira**-e**, **--event** *sys:event*
18*51d64c3aSDaniel Bristot de Oliveira
19*51d64c3aSDaniel Bristot de Oliveira        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.
20*51d64c3aSDaniel Bristot de Oliveira
21b1be4830SDaniel Bristot de Oliveira**-P**, **--priority** *o:prio|r:prio|f:prio|d:runtime:period*
22b1be4830SDaniel Bristot de Oliveira
23b1be4830SDaniel Bristot de Oliveira        Set scheduling parameters to the osnoise tracer threads, the format to set the priority are:
24b1be4830SDaniel Bristot de Oliveira
25b1be4830SDaniel Bristot de Oliveira        - *o:prio* - use SCHED_OTHER with *prio*;
26b1be4830SDaniel Bristot de Oliveira        - *r:prio* - use SCHED_RR with *prio*;
27b1be4830SDaniel Bristot de Oliveira        - *f:prio* - use SCHED_FIFO with *prio*;
28b1be4830SDaniel Bristot de Oliveira        - *d:runtime[us|ms|s]:period[us|ms|s]* - use SCHED_DEADLINE with *runtime* and *period* in nanoseconds.
29b1be4830SDaniel Bristot de Oliveira
30b1be4830SDaniel Bristot de Oliveira**-h**, **--help**
31b1be4830SDaniel Bristot de Oliveira
32b1be4830SDaniel Bristot de Oliveira        Print help menu.
33