tracing: Add pipe_close interface
authorSteven Rostedt <srostedt@redhat.com>
Mon, 7 Dec 2009 14:06:24 +0000 (09:06 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 7 Dec 2009 17:01:35 +0000 (12:01 -0500)
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: Steven Rostedt <rostedt@goodmis.org>

No differences found