aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-09-07 22:19:11 -0400
committerSteven Rostedt (Google) <[email protected]>2023-09-08 23:13:01 -0400
commit1ef26d8b2ca5d8715563c951083cf6c385c77d1f (patch)
treeb1a99ee1cb43c0e2bcbc04c5144f632591c4594b /lib/test_fortify/write_overflow-strncpy-src.c
parent95a404bd60af6c4d9d8db01ad14fe8957ece31ca (diff)
tracing: Use the new eventfs descriptor for print trigger
The check to create the print event "trigger" was using the obsolete "dir" value of the trace_event_file to determine if it should create the trigger or not. But that value will now be NULL because it uses the event file descriptor. Change it to test the "ef" field of the trace_event_file structure so that the trace_marker "trigger" file appears again. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Ajay Kaher <[email protected]> Fixes: 27152bceea1df ("eventfs: Move tracing/events to eventfs") 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