diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-07-15 10:12:15 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-07-30 18:11:45 -0400 |
commit | 6bba92881de9dde4c07cbb24b5691eb6eb9495f2 (patch) | |
tree | 49dcea33a34dbdde12ae3944da84ac27a21ae027 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9182b519b8c9733e921165f93e63cfffc18d1e0a (diff) |
tracing: Add free_trace_iter_content() helper function
As the trace iterator is created and used by various interfaces, the clean
up of it needs to be consistent. Create a free_trace_iter_content() helper
function that frees the content of the iterator and use that to clean it
up in all places that it is used.
Link: https://lkml.kernel.org/r/20230715141348.341887497@goodmis.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions