From: Steven Rostedt Date: Fri, 25 Jul 2014 20:05:29 +0000 (-0400) Subject: tracing: Do not do anything special with tracepoint_string when tracing is disabled X-Git-Tag: omap-for-v3.17/fixes-against-rc2~97^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c49b52b155d0f723792377e1a4480a0e7ca0ba2;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed