diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-06-20 17:38:14 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-02 00:34:27 (GMT) |
commit | b04d52e368e2cf526abb2bab61f304eaea126af2 (patch) | |
tree | b133eb6dcc68e0b4e39c477aeddad326c0797959 /COPYING | |
parent | 3baa5e4cf224b8a55220cc841bb475e164b84ceb (diff) | |
download | linux-b04d52e368e2cf526abb2bab61f304eaea126af2.tar.xz |
tracing/kprobes: Turn trace_probe->files into list_head
I think that "ftrace_event_file *trace_probe[]" complicates the
code for no reason, turn it into list_head to simplify the code.
enable_trace_probe() no longer needs synchronize_sched().
This needs the extra sizeof(list_head) memory for every attached
ftrace_event_file, hopefully not a problem in this case.
Link: http://lkml.kernel.org/r/20130620173814.GA13165@redhat.com
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions