commit | c521efd1700a8c0f7ce26f011f5eaecca17fabfa | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Mon Dec 07 09:06:24 2009 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Dec 07 12:01:35 2009 -0500 |
tree | 8dd9f8171222e856aafa5db1c1a150098327d409 | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d [diff] |
tracing: Add pipe_close interface 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>