diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-03-09 00:56:08 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 00:35:57 -0400 |
commit | 1b22e382ab40b0e3ee5abb3e310dffb16fee22aa (patch) | |
tree | 2e6ca7c130fb6420ba955072275218c7ec287511 /kernel/trace/trace_functions.c | |
parent | ca268da6e415448a43138e1abc5d5f057af319d7 (diff) | |
download | linux-1b22e382ab40b0e3ee5abb3e310dffb16fee22aa.tar.bz2 |
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>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions