From: Steven Rostedt Date: Fri, 4 May 2012 03:09:03 +0000 (-0400) Subject: tracing: Separate out trace events from global variables X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae63b31e4d0e2ec09c569306ea46f664508ef717;p=pandora-kernel.git tracing: Separate out trace events from global variables The trace events for ftrace are all defined via global variables. The arrays of events and event systems are linked to a global list. This prevents multiple users of the event system (what to enable and what not to). By adding descriptors to represent the event/file relation, as well as to which trace_array descriptor they are associated with, allows for more than one set of events to be defined. Once the trace events files have a link between the trace event and the trace_array they are associated with, we can create multiple trace_arrays that can record separate events in separate buffers. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed