OSDN Git Service

ALSA: pcm: enable parameter tracepoints only when CONFIG_SND_DEBUG is enabled
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 6 Jun 2017 23:46:44 +0000 (08:46 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2017 08:49:09 +0000 (10:49 +0200)
commit37567c55035a3a6c6cdf060301a7d8e514627afa
treef4fc1dbf407597e70e52b70fc7f3dc36fc935e57
parentbe4e31dab0e14c1f6fa5c03b33056058b93316e2
ALSA: pcm: enable parameter tracepoints only when CONFIG_SND_DEBUG is enabled

In a previous commit, tracepoints are added for PCM parameter processing.
As long as I know, this implementation increases size of relocatable
object by 35%. For vendors who are conscious of memory footprint, it
brings apparent disadvantage.

This commit utilizes CONFIG_SND_DEBUG configuration to enable/disable the
tracepoints.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c