From: Takashi Iwai Subject: Re: Remove xrun debugging? Date: Mon, 24 Apr 2006 14:50:44 +0200 Message-ID: References: <1145767405.21377.20.camel@mindpipe> <20060423174534.1dd2cb44@mango.fruits> <1145809115.21377.34.camel@mindpipe> <20060423205656.GA3146@localhost.localdomain> <1145825635.31507.19.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1145825635.31507.19.camel@mindpipe> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: John Rigg , Florian Schmidt , alsa-devel List-Id: alsa-devel@alsa-project.org At Sun, 23 Apr 2006 16:53:55 -0400, Lee Revell wrote: > > On Sun, 2006-04-23 at 21:56 +0100, John Rigg wrote: > > On Sun, Apr 23, 2006 at 12:18:34PM -0400, Lee Revell wrote: > > > On Sun, 2006-04-23 at 17:45 +0200, Florian Schmidt wrote: > > > > On Sun, 23 Apr 2006 00:43:24 -0400 > > > > Lee Revell wrote: > > > > > > > > > Can the xrun debug feature of ALSA please be removed? It was obsoleted > > > > > long ago by the latency tracing feature of the -rt kernel, and has not > > > > > been used to find a bug since 2004. At this point it's just confusing > > > > > to users. > > > > > > > > It still might prove useful for non -rt users. I don't know exactly how > > > > useful, but maybe it's really a documentation bug. Put a note in the > > > > helpfile that much finer debugging can be done with the -rt kernels. > > > > > > I don't think it's useful at all - any bugs that it could have found > > > were fixed long ago. I have not seen useful output from it in a year > > > and a half. > > > > Not everyone can use the -rt kernel. Last time I tried it there were still > > issues with x86_64 SMP (multiple single CPUs, not dual chip). Admittedly > > this was a couple of months ago, but on my dual Opteron I'm still running > > vanilla 2.6.14.4. > > The latency tracer is available as a separate patch against the mainline > kernel. But you still have to modify the kernel core itself. It's a hard work for many users. I think it's enough to make the relevant code selective via kernel config like Jaroslav's patch. Remember that the XRUN stack-trace is disabled as default (you have to turn it on via proc file), and the code size you'll save is small, anyway. Takashi ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642