summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorTom Zanussi <zanussi@kernel.org>2022-02-04 23:12:07 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-04-26 23:58:50 +0200
commita7e6b7dcfb19988ad2968a1fafd29b600abbf133 (patch)
treeda663d0a35751a5f177431422a01dccb02ce7e6b /kernel/trace/trace.c
parenttracing: Have existing event_command.parse() implementations use helpers (diff)
downloadlinux-a7e6b7dcfb19988ad2968a1fafd29b600abbf133.tar.xz
linux-a7e6b7dcfb19988ad2968a1fafd29b600abbf133.zip
tracing: Separate hist state updates from hist registration
hist_register_trigger() handles both new hist registration as well as existing hist registration through event_command.reg(). Adding a new function, existing_hist_update_only(), that checks and updates existing histograms and exits after doing so allows the confusing logic in event_hist_trigger_parse() to be simplified. Link: https://lkml.kernel.org/r/211b2cd3e3d7e00f4f8ad45ef8b33063da6a7e05.1644010576.git.zanussi@kernel.org Signed-off-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions