From: Steven Rostedt Date: Thu, 2 Aug 2012 14:32:10 +0000 (-0400) Subject: tracing: Pass the ftrace_file to the buffer lock reserve code X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb469a198cffac94a7eea0b69f715f06e2ddf15;p=pandora-kernel.git tracing: Pass the ftrace_file to the buffer lock reserve code Pass the struct ftrace_event_file *ftrace_file to the trace_event_buffer_lock_reserve() (new function that replaces the trace_current_buffer_lock_reserver()). The ftrace_file holds a pointer to the trace_array that is in use. In the case of multiple buffers with different trace_arrays, this allows different events to be recorded into different buffers. Also fixed some of the stale comments in include/trace/ftrace.h Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed