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

nr_cpus does not change at runtime, so keeping it in struct members is
unnecessary.

Use the global nr_cpus instead of struct members.

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