diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-07-08 03:01:17 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-07-08 03:01:17 -0400 |
commit | 54a3b8dc38d47834336400cbe376a3aca0437cae (patch) | |
tree | aa6141675d3b806d506ae0a32dc34d2d0682da7b /Documentation | |
parent | f978d36da4024ee22957f74276e944624a8c7f6d (diff) |
ALSA: Update documents about new bits of xrun_debug proc file
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sound/alsa/Procfile.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/sound/alsa/Procfile.txt b/Documentation/sound/alsa/Procfile.txt index 07301de12cc4..7fcd1ad96fcc 100644 --- a/Documentation/sound/alsa/Procfile.txt +++ b/Documentation/sound/alsa/Procfile.txt | |||
@@ -103,6 +103,8 @@ card*/pcm*/xrun_debug | |||
103 | bit 2 = Enable additional jiffies check | 103 | bit 2 = Enable additional jiffies check |
104 | bit 3 = Log hwptr update at each period interrupt | 104 | bit 3 = Log hwptr update at each period interrupt |
105 | bit 4 = Log hwptr update at each snd_pcm_update_hw_ptr() | 105 | bit 4 = Log hwptr update at each snd_pcm_update_hw_ptr() |
106 | bit 5 = Show last 10 positions on error | ||
107 | bit 6 = Do above only once | ||
106 | 108 | ||
107 | When the bit 0 is set, the driver will show the messages to | 109 | When the bit 0 is set, the driver will show the messages to |
108 | kernel log when an xrun is detected. The debug message is | 110 | kernel log when an xrun is detected. The debug message is |
@@ -122,6 +124,12 @@ card*/pcm*/xrun_debug | |||
122 | Bits 3 and 4 are for logging the hwptr records. Note that | 124 | Bits 3 and 4 are for logging the hwptr records. Note that |
123 | these will give flood of kernel messages. | 125 | these will give flood of kernel messages. |
124 | 126 | ||
127 | When bit 5 is set, the driver logs the last 10 xrun errors and | ||
128 | the proc file shows each jiffies, position, period_size, | ||
129 | buffer_size, old_hw_ptr, and hw_ptr_base values. | ||
130 | |||
131 | When bit 6 is set, the full xrun log is shown only once. | ||
132 | |||
125 | card*/pcm*/sub*/info | 133 | card*/pcm*/sub*/info |
126 | The general information of this PCM sub-stream. | 134 | The general information of this PCM sub-stream. |
127 | 135 | ||