diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2024-07-26 14:42:08 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-08-07 18:12:46 -0400 |
commit | 6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9 (patch) | |
tree | 9f1216947f7d5f38dea5d101baed29293a10e82b /scripts/generate_rust_analyzer.py | |
parent | b1560408692cd0ab0370cfbe9deb03ce97ab3f6d (diff) |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions