[pulseaudio-discuss] [PATCH 04/25] printout pthread id number in pulseaudio log

Lu Guanqun guanqun.lu at intel.com
Sun Aug 7 22:16:48 PDT 2011


On Fri, Aug 05, 2011 at 10:24:17PM +0800, Pierre-Louis Bossart wrote:
> > there're multiple pthreads in pulseuadio, which makes reading a bit
> > confuse.
> > this patch can print each pthread's id.
> 
> Wouldn't it be easier to understand if the thread name was used? We
> typically rely on thread names to understand what goes on with
> ftrace/pytimechart, I would think this is similar here. I would rather see a
> log with "alsa-sink" rather than "PID 6779", it'd also make log comparison
> and analysis easier.
> -Pierre

How about the patch something like below? :) It displays the thread name
instead of thread id.

> 
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


More information about the pulseaudio-discuss mailing list