From: Steven Rostedt (Red Hat) Date: Sat, 9 Mar 2013 05:56:08 +0000 (-0500) Subject: tracing: Let tracing_snapshot() be used by modules but not NMI X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b22e382ab40b0e3ee5abb3e310dffb16fee22aa;p=pandora-kernel.git tracing: Let tracing_snapshot() be used by modules but not NMI Add EXPORT_SYMBOL_GPL() to let the tracing_snapshot() functions be called from modules. Also add a test to see if the snapshot was called from NMI context and just warn in the tracing buffer if so, and return. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed