162306a36Sopenharmony_ci**-a**, **--auto** *us*
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci        Set the automatic trace mode. This mode sets some commonly used options
462306a36Sopenharmony_ci        while debugging the system. It is equivalent to use **-T** *us* **-s** *us*
562306a36Sopenharmony_ci        **-t**. By default, *timerlat* tracer uses FIFO:95 for *timerlat* threads,
662306a36Sopenharmony_ci        thus equilavent to **-P** *f:95*.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci**-p**, **--period** *us*
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci        Set the *timerlat* tracer period in microseconds.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci**-i**, **--irq** *us*
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci        Stop trace if the *IRQ* latency is higher than the argument in us.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci**-T**, **--thread** *us*
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci        Stop trace if the *Thread* latency is higher than the argument in us.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci**-s**, **--stack** *us*
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci        Save the stack trace at the *IRQ* if a *Thread* latency is higher than the
2362306a36Sopenharmony_ci        argument in us.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci**--dma-latency** *us*
2662306a36Sopenharmony_ci        Set the /dev/cpu_dma_latency to *us*, aiming to bound exit from idle latencies.
2762306a36Sopenharmony_ci        *cyclictest* sets this value to *0* by default, use **--dma-latency** *0* to have
2862306a36Sopenharmony_ci        similar results.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci**-u**, **--user-threads**
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci        Set timerlat to run without a workload, and then dispatches user-space workloads
3362306a36Sopenharmony_ci        to wait on the timerlat_fd. Once the workload is awakes, it goes to sleep again
3462306a36Sopenharmony_ci        adding so the measurement for the kernel-to-user and user-to-kernel to the tracer
3562306a36Sopenharmony_ci        output.
36