commit | 1b22e382ab40b0e3ee5abb3e310dffb16fee22aa | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Sat Mar 09 00:56:08 2013 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Fri Mar 15 00:35:57 2013 -0400 |
tree | 2e6ca7c130fb6420ba955072275218c7ec287511 | |
parent | ca268da6e415448a43138e1abc5d5f057af319d7 [diff] |
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 <rostedt@goodmis.org>