]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtla/osnoise: Unify params struct
authorTomas Glozar <tglozar@redhat.com>
Thu, 20 Mar 2025 09:24:55 +0000 (10:24 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 26 Mar 2025 14:36:39 +0000 (10:36 -0400)
commit025b217990ea5cdc24a33ad60c889c696cbf9a32
tree55bead1dd751ebee1fc74f878d4215832ed659d9
parentc57c58a62e564c615520839742b28d315427a280
rtla/osnoise: Unify params struct

Instead of having separate structs osnoise_top_params and
osnoise_hist_params, use one struct osnoise_params for both.

This allows code using the structs to be shared between osnoise-top and
osnoise-hist.

Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/20250320092500.101385-2-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Reviewed-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
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.h