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

nr_cpus does not change at runtime, so passing it through function
arguments is unnecessary.

Use the global nr_cpus instead of propagating it via parameters.

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/r/20260306194953.2511960-3-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_bpf.c
tools/tracing/rtla/src/timerlat_bpf.h
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c
tools/tracing/rtla/src/timerlat_u.c