diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-06-20 19:38:14 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-01 20:34:27 -0400 |
commit | b04d52e368e2cf526abb2bab61f304eaea126af2 (patch) | |
tree | b133eb6dcc68e0b4e39c477aeddad326c0797959 /kernel/trace/trace_irqsoff.c | |
parent | 3baa5e4cf224b8a55220cc841bb475e164b84ceb (diff) | |
download | op-kernel-dev-b04d52e368e2cf526abb2bab61f304eaea126af2.zip op-kernel-dev-b04d52e368e2cf526abb2bab61f304eaea126af2.tar.gz |
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 'kernel/trace/trace_irqsoff.c')
0 files changed, 0 insertions, 0 deletions