aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-07-15 10:12:15 -0400
committerSteven Rostedt (Google) <[email protected]>2023-07-30 18:11:45 -0400
commit6bba92881de9dde4c07cbb24b5691eb6eb9495f2 (patch)
tree49dcea33a34dbdde12ae3944da84ac27a21ae027 /tools/perf/scripts/python/task-analyzer.py
parent9182b519b8c9733e921165f93e63cfffc18d1e0a (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/[email protected] Cc: Mark Rutland <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]> Reviewed-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions