diff options
author | Steven Rostedt <[email protected]> | 2014-07-25 16:05:29 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-08-07 20:39:36 -0400 |
commit | 3c49b52b155d0f723792377e1a4480a0e7ca0ba2 (patch) | |
tree | 651052ab8141bb7b0a28d23ea02624727632f311 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 19583ca584d6f574384e17fe7613dfaeadcdc4a6 (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/[email protected]
Suggested-by: Nicolas Pitre <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions