From: Steven Rostedt Date: Fri, 11 May 2012 17:29:49 +0000 (-0400) Subject: tracing: Encapsulate global_trace and remove dependencies on global vars X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b6080f28c7cc3efc8625ab71495aae89aeb63a0;p=pandora-kernel.git tracing: Encapsulate global_trace and remove dependencies on global vars The global_trace variable in kernel/trace/trace.c has been kept 'static' and local to that file so that it would not be used too much outside of that file. This has paid off, even though there were lots of changes to make the trace_array structure more generic (not depending on global_trace). Removal of a lot of direct usages of global_trace is needed to be able to create more trace_arrays such that we can add multiple buffers. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed