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 5272ced25SDaniel Bristot de Oliveira**-H**, **--house-keeping** *cpu-list* 6272ced25SDaniel Bristot de Oliveira 7272ced25SDaniel Bristot de Oliveira Run rtla control threads only on the given cpu-list. 8272ced25SDaniel Bristot de Oliveira 9b1be4830SDaniel Bristot de Oliveira**-d**, **--duration** *time[s|m|h|d]* 10b1be4830SDaniel Bristot de Oliveira 11b1be4830SDaniel Bristot de Oliveira Set the duration of the session. 12b1be4830SDaniel Bristot de Oliveira 13b1be4830SDaniel Bristot de Oliveira**-D**, **--debug** 14b1be4830SDaniel Bristot de Oliveira 15b1be4830SDaniel Bristot de Oliveira Print debug info. 16b1be4830SDaniel Bristot de Oliveira 1751d64c3aSDaniel Bristot de Oliveira**-e**, **--event** *sys:event* 1851d64c3aSDaniel Bristot de Oliveira 1951d64c3aSDaniel 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. 2051d64c3aSDaniel Bristot de Oliveira 2144f3a37dSDaniel Bristot de Oliveira**--filter** *<filter>* 2244f3a37dSDaniel Bristot de Oliveira 2344f3a37dSDaniel Bristot de Oliveira Filter the previous **-e** *sys:event* event with *<filter>*. For further information about event filtering see https://www.kernel.org/doc/html/latest/trace/events.html#event-filtering. 2444f3a37dSDaniel Bristot de Oliveira 251a754893SDaniel Bristot de Oliveira**--trigger** *<trigger>* 26761916fdSDaniel Bristot de Oliveira Enable a trace event trigger to the previous **-e** *sys:event*. 27761916fdSDaniel Bristot de Oliveira If the *hist:* trigger is activated, the output histogram will be automatically saved to a file named *system_event_hist.txt*. 28761916fdSDaniel Bristot de Oliveira For example, the command: 29761916fdSDaniel Bristot de Oliveira 30761916fdSDaniel Bristot de Oliveira rtla <command> <mode> -t -e osnoise:irq_noise --trigger="hist:key=desc,duration/1000:sort=desc,duration/1000:vals=hitcount" 31761916fdSDaniel Bristot de Oliveira 32761916fdSDaniel Bristot de Oliveira Will automatically save the content of the histogram associated to *osnoise:irq_noise* event in *osnoise_irq_noise_hist.txt*. 33761916fdSDaniel Bristot de Oliveira 34761916fdSDaniel Bristot de Oliveira For further information about event trigger see https://www.kernel.org/doc/html/latest/trace/events.html#event-triggers. 351a754893SDaniel Bristot de Oliveira 36b1be4830SDaniel Bristot de Oliveira**-P**, **--priority** *o:prio|r:prio|f:prio|d:runtime:period* 37b1be4830SDaniel Bristot de Oliveira 38b1be4830SDaniel Bristot de Oliveira Set scheduling parameters to the osnoise tracer threads, the format to set the priority are: 39b1be4830SDaniel Bristot de Oliveira 40b1be4830SDaniel Bristot de Oliveira - *o:prio* - use SCHED_OTHER with *prio*; 41b1be4830SDaniel Bristot de Oliveira - *r:prio* - use SCHED_RR with *prio*; 42b1be4830SDaniel Bristot de Oliveira - *f:prio* - use SCHED_FIFO with *prio*; 43b1be4830SDaniel Bristot de Oliveira - *d:runtime[us|ms|s]:period[us|ms|s]* - use SCHED_DEADLINE with *runtime* and *period* in nanoseconds. 44b1be4830SDaniel Bristot de Oliveira 45a957cbc0SDaniel Bristot de Oliveira**-C**, **--cgroup**\[*=cgroup*] 46a957cbc0SDaniel Bristot de Oliveira 47a957cbc0SDaniel Bristot de Oliveira Set a *cgroup* to the tracer's threads. If the **-C** option is passed without arguments, the tracer's thread will inherit **rtla**'s *cgroup*. Otherwise, the threads will be placed on the *cgroup* passed to the option. 48a957cbc0SDaniel Bristot de Oliveira 49cdbf7196SDaniel Bristot de Oliveira**--warm-up** *s* 50cdbf7196SDaniel Bristot de Oliveira 51cdbf7196SDaniel Bristot de Oliveira After starting the workload, let it run for *s* seconds before starting collecting the data, allowing the system to warm-up. Statistical data generated during warm-up is discarded. 52cdbf7196SDaniel Bristot de Oliveira 53*e9a4062eSDaniel Bristot de Oliveira**--trace-buffer-size** *kB* 54*e9a4062eSDaniel Bristot de Oliveira Set the per-cpu trace buffer size in kB for the tracing output. 55*e9a4062eSDaniel Bristot de Oliveira 56b1be4830SDaniel Bristot de Oliveira**-h**, **--help** 57b1be4830SDaniel Bristot de Oliveira 58b1be4830SDaniel Bristot de Oliveira Print help menu. 59