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