Thanks for the answers!
oprofile is indeed very useful, but unfortunately I can't make the
call-graph (something wrong with my oprofile setup).
Anyway, I found the guilty place in helgrind by manually inserting counters
in the code. Details follow in separate thread.
--kcc

On Jan 13, 2008 2:26 AM, Nicholas Nethercote <[EMAIL PROTECTED]>
wrote:

> On Sun, 13 Jan 2008, Josef Weidendorfer wrote:
>
> >> Would it be possible to run helgrind under callgrind? Did you try
> gprof? Any
> >> other suggestions?
> >
> > Yes.
> > Check out "Self hosting" in README_DEVELOPERS.
> >
> > To run callgrind on a Valgrind tool, you need to specify
> > "--pop-on-jump=yes" for the the outer callgrind. Otherwise, the
> callgraph
> > will grow linear to run time, producting an "out-of-memory" condition
> > after some time.
> >
> > Note that self hosting is _really_ slow, and it could take a while until
> you
> > reach the problematic phase. However, you can check out intermediate
> dumps
> > triggered by "callgrind_control".
>
> I've used Cachegrind and OProfile.  OProfile is generally better because
> it
> is so much faster, and you know the numbers are real times, rather than
> instruction counts which don't necessarily map exactly to real times.
> But Cachegrind does give more detailed information.
>
> Nick
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Valgrind-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to