summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2024-07-26 21:42:08 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-08-08 01:12:46 +0300
commit6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9 (patch)
tree9f1216947f7d5f38dea5d101baed29293a10e82b /tools/perf/scripts/python/export-to-sqlite.py
parentb1560408692cd0ab0370cfbe9deb03ce97ab3f6d (diff)
downloadlinux-6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9.tar.xz
tracing: Use refcount for trace_event_file reference counter
Instead of using an atomic counter for the trace_event_file reference counter, use the refcount interface. It has various checks to make sure the reference counting is correct, and will warn if it detects an error (like refcount_inc() on '0'). Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20240726144208.687cce24@rorschach.local.home Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions