commit | 211b2cd3e3d7e00f4f8ad45ef8b33063da6a7e05 | [log] [tgz] |
---|---|---|
author | Tom Zanussi <zanussi@kernel.org> | Wed Feb 02 10:57:48 2022 -0600 |
committer | Tom Zanussi <zanussi@kernel.org> | Fri Feb 04 14:19:24 2022 -0600 |
tree | 9926502ae19c9856a073f550d810299b607b76b9 | |
parent | b353e3427a81f9d3adafd98fd7d73e78a8209f43 [diff] |
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. Signed-off-by: Tom Zanussi <zanussi@kernel.org>