]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/rtla: Remove unneeded nr_cpus from for_each_monitored_cpu
authorCosta Shulyupin <costa.shul@redhat.com>
Fri, 6 Mar 2026 19:49:52 +0000 (21:49 +0200)
committerTomas Glozar <tglozar@redhat.com>
Mon, 9 Mar 2026 07:49:17 +0000 (08:49 +0100)
commit458c9519ab21ea473020c53a50d7d5b1720ded30
tree8d19468f0eefb581684ab17a522b4798efa74b5a
parentcaf3fc0fdd63b4b163ee4eac1ca822772108c0f8
tools/rtla: Remove unneeded nr_cpus from for_each_monitored_cpu

nr_cpus does not change at runtime, so passing it through the macro
argument is unnecessary.

Remove the argument and use the global nr_cpus instead.

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/r/20260306194953.2511960-5-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/common.h
tools/tracing/rtla/src/osnoise_hist.c
tools/tracing/rtla/src/osnoise_top.c
tools/tracing/rtla/src/timerlat.c
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c