From: Oleg Nesterov Date: Thu, 20 Jun 2013 17:38:14 +0000 (+0200) Subject: tracing/kprobes: Turn trace_probe->files into list_head X-Git-Tag: v3.11-rc1~33^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b04d52e368e2cf526abb2bab61f304eaea126af2;p=pandora-kernel.git 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 Signed-off-by: Oleg Nesterov Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed