Skip to content

Commit 1321648

Browse files
lenticularis39rostedt
authored andcommitted
rtla: Documentation: Mention --deepest-idle-state
Add --deepest-idle-state to manpage and mention libcpupower dependency in README.txt. Link: https://lore.kernel.org/20241017140914.3200454-7-tglozar@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent cfbfbfc commit 1321648

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Documentation/tools/rtla/common_timerlat_options.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
*cyclictest* sets this value to *0* by default, use **--dma-latency** *0* to have
3232
similar results.
3333

34+
**--deepest-idle-state** *n*
35+
Disable idle states higher than *n* for cpus that are running timerlat threads to
36+
reduce exit from idle latencies. If *n* is -1, all idle states are disabled.
37+
On exit from timerlat, the idle state setting is restored to its original state
38+
before running timerlat.
39+
40+
Requires rtla to be built with libcpupower.
41+
3442
**-k**, **--kernel-threads**
3543

3644
Use timerlat kernel-space threads, in contrast of **-u**.

tools/tracing/rtla/README.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RTLA depends on the following libraries and tools:
1111

1212
- libtracefs
1313
- libtraceevent
14+
- libcpupower (optional, for --deepest-idle-state)
1415

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

@@ -26,6 +27,9 @@ For development, we suggest the following steps for compiling rtla:
2627
$ make
2728
$ sudo make install
2829
$ cd ..
30+
$ cd $libcpupower_src
31+
$ make
32+
$ sudo make install
2933
$ cd $rtla_src
3034
$ make
3135
$ sudo make install

0 commit comments

Comments
 (0)