[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240612145439.206990-1-tglozar@redhat.com>
Date: Wed, 12 Jun 2024 16:54:34 +0200
From: tglozar@...hat.com
To: bristot@...nel.org,
rostedt@...dmis.org
Cc: linux-trace-kernel@...r.kernel.org,
linux-kernel@...r.kernel.org,
jkacur@...hat.com,
jwyatt@...hat.com,
Tomas Glozar <tglozar@...hat.com>
Subject: [PATCH 0/5] rtla: Support idle state disabling via libcpupower in timerlat
From: Tomas Glozar <tglozar@...hat.com>
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 idle states only on
the CPUs where timerlat measurements are running.
libcpupower is used to do the disabling of idle states via the corresponding
sysfs interface.
Tomas Glozar (5):
rtla: Add dependency on libcpupower
rtla/utils: Add idle state disabling via libcpupower
rtla/timerlat: Add --disable-idle-states for top
rtla/timerlat: Add --disable-idle-states for hist
rtla: Documentation: Add --disable-idle-states
.../tools/rtla/common_timerlat_options.rst | 6 +
tools/build/Makefile.feature | 1 +
tools/build/feature/Makefile | 4 +
tools/build/feature/test-libcpupower.c | 8 ++
tools/tracing/rtla/Makefile | 2 +
tools/tracing/rtla/Makefile.config | 9 ++
tools/tracing/rtla/README.txt | 4 +
tools/tracing/rtla/src/timerlat_hist.c | 35 ++++-
tools/tracing/rtla/src/timerlat_top.c | 35 ++++-
tools/tracing/rtla/src/utils.c | 133 ++++++++++++++++++
tools/tracing/rtla/src/utils.h | 4 +
11 files changed, 239 insertions(+), 2 deletions(-)
create mode 100644 tools/build/feature/test-libcpupower.c
--
2.43.0
Powered by blists - more mailing lists