]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/rtla: Move top/hist params into common struct
authorCrystal Wood <crwood@redhat.com>
Sun, 7 Sep 2025 02:23:20 +0000 (21:23 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 27 Sep 2025 08:52:17 +0000 (04:52 -0400)
commit5742bf62e6d3070f04a2ea688758431537076129
tree59c4f52f20fef94922b6e25cd76bd8df7ba97305
parent344823886eafe5fe17ed788b00e463666c2183b4
tools/rtla: Move top/hist params into common struct

The hist members were very similar between timerlat and top, so
just use one common hist struct.

output_divisor, quiet, and pretty printing are pretty generic
concepts that can go in the main struct even if not every
specific tool (currently) uses them.

Cc: John Kacur <jkacur@redhat.com>
Cc: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/20250907022325.243930-3-crwood@redhat.com
Reviewed-by: Tomas Glozar <tglozar@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
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.h
tools/tracing/rtla/src/timerlat_bpf.c
tools/tracing/rtla/src/timerlat_hist.c
tools/tracing/rtla/src/timerlat_top.c