From: Steven Rostedt Date: Fri, 10 Apr 2009 18:53:50 +0000 (-0400) Subject: tracing/events: add support for modules to TRACE_EVENT X-Git-Tag: v2.6.31-rc1~401^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d723736e472f7a0cd5b62c84152fceead241328;p=pandora-kernel.git tracing/events: add support for modules to TRACE_EVENT Impact: allow modules to add TRACE_EVENTS on load This patch adds the final hooks to allow modules to use the TRACE_EVENT macro. A notifier and a data structure are used to link the TRACE_EVENTs defined in the module to connect them with the ftrace event tracing system. It also adds the necessary automated clean ups to the trace events when a module is removed. Cc: Rusty Russell Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed