ALSA: PCM midlevel: introduce mask for xrun_debug() macro
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2009 09:21:52 +0000 (11:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 May 2009 09:47:36 +0000 (11:47 +0200)
commitc62a01ad6e746fae9c93f51ea67e0abfd8d94b58
treea334fb7283e7bf925e61c08dc926288890d2e616
parent8bea869c5e56234990e6bad92a543437115bfc18
ALSA: PCM midlevel: introduce mask for xrun_debug() macro

For debugging purposes, it is better to separate actions.

Bit-values:

1: show bad PCM ring buffer pointer
2: show also stack (to debug kernel latency issues)
4: check pointer against system jiffies

Example:

5: show bad PCM ring buffer pointer and do jiffies check

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c