[PATCH 5/5] rtla: Documentation: Add --disable-idle-states

2024-06-12 Thread tglozar
From: Tomas Glozar Add --disable-idle-states to manpage and mention libcpupower dependency in README.txt. Signed-off-by: Tomas Glozar --- Documentation/tools/rtla/common_timerlat_options.rst | 6 ++ tools/tracing/rtla/README.txt| 4 2 files changed, 10

[PATCH 4/5] rtla/timerlat: Add --disable-idle-states for hist

2024-06-12 Thread tglozar
From: Tomas Glozar Support disabling idle states also for timerlat-hist. Signed-off-by: Tomas Glozar --- tools/tracing/rtla/src/timerlat_hist.c | 35 +- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/tools/tracing/rtla/src/timerlat_hist.c

[PATCH 3/5] rtla/timerlat: Add --disable-idle-states for top

2024-06-12 Thread tglozar
From: Tomas Glozar Add option to disable idle states on CPUs where timerlat is running for the duration of the workload. Signed-off-by: Tomas Glozar --- tools/tracing/rtla/src/timerlat_top.c | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git

[PATCH 2/5] rtla/utils: Add idle state disabling via libcpupower

2024-06-12 Thread tglozar
From: Tomas Glozar Add functions to utils.c to disable idle states through functions of libcpupower. This will serve as the basis for disabling idle states per cpu when running timerlat. Signed-off-by: Tomas Glozar --- tools/tracing/rtla/src/utils.c | 133 +

[PATCH 1/5] rtla: Add dependency on libcpupower

2024-06-12 Thread tglozar
From: Tomas Glozar Add a test for libcpupower into feature tests and use it to add a dependency on libcpupower to rtla. Signed-off-by: Tomas Glozar --- tools/build/Makefile.feature | 1 + tools/build/feature/Makefile | 4 tools/build/feature/test-libcpupower.c | 8

[PATCH 0/5] rtla: Support idle state disabling via libcpupower in timerlat

2024-06-12 Thread tglozar
From: Tomas Glozar rtla-timerlat allows reducing latency on wake up from idle by setting /dev/cpu_dma_latency during the timerlat measurement. This has an effect on the idle states of all CPUs, including those which are not used by timerlat. Add option --disable-idle-states that disables all