aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2014-07-25 16:05:29 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-08-07 20:39:36 -0400
commit3c49b52b155d0f723792377e1a4480a0e7ca0ba2 (patch)
tree651052ab8141bb7b0a28d23ea02624727632f311 /include/trace
parent19583ca584d6f574384e17fe7613dfaeadcdc4a6 (diff)
tracing: Do not do anything special with tracepoint_string when tracing is disabled
When CONFIG_TRACING is not enabled, there's no reason to save the trace strings either by the linker or as a static variable that can be referenced later. Simply pass back the string that is given to tracepoint_string(). Had to move the define to include/linux/tracepoint.h so that it is still visible when CONFIG_TRACING is not set. Link: http://lkml.kernel.org/p/1406318733-26754-2-git-send-email-nicolas.pitre@linaro.org Suggested-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions