aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFlorent Revest <[email protected]>2023-03-21 15:04:18 +0100
committerSteven Rostedt (Google) <[email protected]>2023-03-21 13:42:11 -0400
commit59495740f79524bebe4ecb8097cf206f86587b25 (patch)
tree868eeed4a0d0aa5a531e28fb26929ec8a14a7d8a /tools/perf/util/trace-event-scripting.c
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
ftrace: Let unregister_ftrace_direct_multi() call ftrace_free_filter()
A common pattern when using the ftrace_direct_multi API is to unregister the ops and also immediately free its filter. We've noticed it's very easy for users to miss calling ftrace_free_filter(). This adds a "free_filters" argument to unregister_ftrace_direct_multi() to both remind the user they should free filters and also to make their life easier. Link: https://lkml.kernel.org/r/[email protected] Suggested-by: Steven Rostedt <[email protected]> Signed-off-by: Florent Revest <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Jiri Olsa <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions