Skip to content

Commit

Permalink
rtla: Documentation: Mention --deepest-idle-state
Browse files Browse the repository at this point in the history
Add --deepest-idle-state to manpage and mention libcpupower dependency
in README.txt.

Link: https://lore.kernel.org/[email protected]
Signed-off-by: Tomas Glozar <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
  • Loading branch information
lenticularis39 authored and rostedt committed Oct 17, 2024
1 parent cfbfbfc commit 1321648
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/tools/rtla/common_timerlat_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
*cyclictest* sets this value to *0* by default, use **--dma-latency** *0* to have
similar results.

**--deepest-idle-state** *n*
Disable idle states higher than *n* for cpus that are running timerlat threads to
reduce exit from idle latencies. If *n* is -1, all idle states are disabled.
On exit from timerlat, the idle state setting is restored to its original state
before running timerlat.

Requires rtla to be built with libcpupower.

**-k**, **--kernel-threads**

Use timerlat kernel-space threads, in contrast of **-u**.
Expand Down
4 changes: 4 additions & 0 deletions tools/tracing/rtla/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RTLA depends on the following libraries and tools:

- libtracefs
- libtraceevent
- libcpupower (optional, for --deepest-idle-state)

It also depends on python3-docutils to compile man pages.

Expand All @@ -26,6 +27,9 @@ For development, we suggest the following steps for compiling rtla:
$ make
$ sudo make install
$ cd ..
$ cd $libcpupower_src
$ make
$ sudo make install
$ cd $rtla_src
$ make
$ sudo make install
Expand Down

0 comments on commit 1321648

Please sign in to comment.