diff options
author | 2013-03-09 00:56:08 -0500 | |
---|---|---|
committer | 2013-03-15 00:35:57 -0400 | |
commit | 1b22e382ab40b0e3ee5abb3e310dffb16fee22aa (patch) | |
tree | 2e6ca7c130fb6420ba955072275218c7ec287511 /kernel/trace/trace_functions.c | |
parent | tracing: Add internal ftrace trace_puts() for ftrace to use (diff) | |
download | linux-1b22e382ab40b0e3ee5abb3e310dffb16fee22aa.tar.gz linux-1b22e382ab40b0e3ee5abb3e310dffb16fee22aa.tar.bz2 linux-1b22e382ab40b0e3ee5abb3e310dffb16fee22aa.zip |
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