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

2024-06-21 Thread Daniel Bristot de Oliveira
On 6/12/24 16:54, tglo...@redhat.com wrote: > + > + nr_states = cpuidle_state_count(cpu); > + Question: Is this library implemented for all archs or only intel &| arm? If it is restricted to few archs, it is another point to make it optional. -- Daniel

[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 +