aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2024-07-26 14:42:08 -0400
committerSteven Rostedt (Google) <[email protected]>2024-08-07 18:12:46 -0400
commit6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9 (patch)
tree9f1216947f7d5f38dea5d101baed29293a10e82b /lib/test_fortify/write_overflow-strncpy-src.c
parentb1560408692cd0ab0370cfbe9deb03ce97ab3f6d (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 <[email protected]> Link: https://lore.kernel.org/[email protected] Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions