diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-23 17:26:00 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-07-24 11:22:51 -0400 |
commit | 46ef2be0d1d5ccea0c41bb606143586daadd537c (patch) | |
tree | e924cd0e92231bdf0fa5a37fa8372fe42b319b90 /samples/kdb/Makefile | |
parent | 15544209cb0b5312e5220a9337a1fe61d1a1f2d9 (diff) | |
download | blackbird-op-linux-46ef2be0d1d5ccea0c41bb606143586daadd537c.tar.gz blackbird-op-linux-46ef2be0d1d5ccea0c41bb606143586daadd537c.zip |
tracing: Change tracing_buffers_fops to rely on tracing_get_cpu()
tracing_buffers_open() is racy, the memory inode->i_private points
to can be already freed.
Change debugfs_create_file("trace_pipe_raw", data) caller to pass
"data = tr", tracing_buffers_open() can use tracing_get_cpu().
Change debugfs_create_file("snapshot_raw_fops", data) caller too,
this file uses tracing_buffers_open/release.
Link: http://lkml.kernel.org/r/20130723152600.GA23720@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'samples/kdb/Makefile')
0 files changed, 0 insertions, 0 deletions