In a previous commit, tracepoints are added for PCM parameter processing. As long as I know, this implementation increases size of relocatable object by 135%. For vendors who are conscious of memory footprint, it brings apparent disadvantage.
This commit uses CONFIG_SND_DEBUG option to enable/disable the tracepoints.
Signed-off-by: Takashi Sakamoto o-takashi@sakamocchi.jp --- sound/core/pcm_native.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 5a2703e..3fd2a63 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -37,7 +37,9 @@ #include <sound/minors.h> #include <linux/uio.h>
+#ifdef CONFIG_SND_DEBUG #define CREATE_TRACE_POINTS +#endif #include "pcm_params_trace.h"
/*