[rrd-developers] [collectd] rrdcached + collectd issues

Sebastian Harl sh at tokkee.org
Sat Oct 10 10:32:10 CEST 2009

Hi Thorsten,

On Fri, Oct 09, 2009 at 11:46:26AM -0700, Thorsten von Eicken wrote:
> I've compiled rrdcched with -pg to get gprof 
> output, but haven't been successful.

Just a short note on that: Most of the actual work in RRDCacheD is done
in threads. gprof is not able to handle that very well (basically not at

> It looks to like that's mostly the journal replay stuff and very little 
> more.

Journal replay is done during startup in the main thread, so gprof is
able to grab information about that but probably misses about everything

You might want to have a look at callgrind, which is one of the valgrind
tools that may be used for call graph tracing and which supports multi-
threaded programs as well.


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20091010/b70a37d7/attachment.pgp 

More information about the rrd-developers mailing list