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 all). > 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 else. 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. Cheers, Sebastian -- 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
signature.asc
Description: Digital signature
_______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers