• Steven Rostedt's avatar
    tracing: Add pipe_close interface · c521efd1
    Steven Rostedt authored
    An ftrace plugin can add a pipe_open interface when the user opens
    trace_pipe. But if the plugin allocates something within the pipe_open
    it can not free it because there exists no pipe_close. The hook to
    the trace file open has a corresponding close. The closing of the
    trace_pipe file should also have a corresponding close.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    c521efd1
trace.c 99.4 KB