From 056ef33508320216c5ef107f325d0b9e605dbc0f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 8 Jul 2010 09:01:17 +0200 Subject: [PATCH] --- yaml --- r: 206671 b: refs/heads/master c: 54a3b8dc38d47834336400cbe376a3aca0437cae h: refs/heads/master i: 206669: 6a992ab63d717039ba2732cb7ee367a3ce350ed6 206667: 9864a595d73a4faa875276dab378ebf1c839914c 206663: a0066f874e39f82229c182e8b38af6ae86ce5f5d 206655: f3855c3ef9bdd3441ab94c074096076cf3b24ab3 v: v3 --- [refs] | 2 +- trunk/Documentation/sound/alsa/Procfile.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0282dbb8d0c2..f9f58c7a3482 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f978d36da4024ee22957f74276e944624a8c7f6d +refs/heads/master: 54a3b8dc38d47834336400cbe376a3aca0437cae diff --git a/trunk/Documentation/sound/alsa/Procfile.txt b/trunk/Documentation/sound/alsa/Procfile.txt index 07301de12cc4..7fcd1ad96fcc 100644 --- a/trunk/Documentation/sound/alsa/Procfile.txt +++ b/trunk/Documentation/sound/alsa/Procfile.txt @@ -103,6 +103,8 @@ card*/pcm*/xrun_debug bit 2 = Enable additional jiffies check bit 3 = Log hwptr update at each period interrupt bit 4 = Log hwptr update at each snd_pcm_update_hw_ptr() + bit 5 = Show last 10 positions on error + bit 6 = Do above only once When the bit 0 is set, the driver will show the messages to kernel log when an xrun is detected. The debug message is @@ -122,6 +124,12 @@ card*/pcm*/xrun_debug Bits 3 and 4 are for logging the hwptr records. Note that these will give flood of kernel messages. + When bit 5 is set, the driver logs the last 10 xrun errors and + the proc file shows each jiffies, position, period_size, + buffer_size, old_hw_ptr, and hw_ptr_base values. + + When bit 6 is set, the full xrun log is shown only once. + card*/pcm*/sub*/info The general information of this PCM sub-stream.