]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/rtla: Consolidate common parameters into shared structure
authorCosta Shulyupin <costa.shul@redhat.com>
Sun, 7 Sep 2025 02:23:19 +0000 (21:23 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 27 Sep 2025 08:51:18 +0000 (04:51 -0400)
commit344823886eafe5fe17ed788b00e463666c2183b4
treebf336da5f638927a8cfeb3ab7994a11ee36e702c
parent76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
tools/rtla: Consolidate common parameters into shared structure

timerlat_params and osnoise_params structures contain 15 identical
fields.

Introduce a new header common.h and define a common_params structure to
consolidate shared fields, reduce code duplication, and enhance
maintainability.

Cc: John Kacur <jkacur@redhat.com>
Link: https://lore.kernel.org/20250907022325.243930-2-crwood@redhat.com
Reviewed-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Signed-off-by: Crystal Wood <crwood@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/common.h [new file with mode: 0644]
tools/tracing/rtla/src/osnoise.c
tools/tracing/rtla/src/osnoise.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.h
tools/tracing/rtla/src/timerlat_bpf.c
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c