[pulseaudio-discuss] [PATCH] core: add ring buffer for log

Peter Meerwald pmeerw at pmeerw.net
Mon Jul 9 08:56:14 PDT 2012


> >> The usage model for this ring buffer is that we can peek into what's going on
> >> under the hood without restarting pulseaudio daemon, we enable this via logging
> >> all level's messages.
> >
> > what is the expected memory usage? 512*200 bytes + 200 timestamps? is this
> > per thread?
> >
> > can this be made compile-time configurable?

> Thanks for your interests in this usage. Yes. It's per thread and the
> memory usage is quite low right now. It's a good idea to make it
> compile time configurable. I'll add that support. :)

100KB times ?? threads... there are probably better ways to waste memory 
on an embedded device :)

hope the patch doesn't get too ugly with tons of #ifdefs

thanks, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list