On Fri, 14 Sep 2007 08:03:02 +1000 (EST) Nicholas Nethercote
> On Thu, 13 Sep 2007, Salvatore Iovene wrote:
> >>> I see that Massif is a tool for heap profiling. I would like to
> >>> profile the usage of the stack of my program; is there a way with
> >>> Valgrind? And if not, can you suggest some other way to do it?
> >> Try the --stacks=3Dyes option.
> > Thanks, but 'yes' is the default for --stacks. I'll make sure that
> > stack information is not already included in massif's output. Even
> > though I'm a bit skeptic, since:
> > "Massif is a heap profiler. It performs detailed heap profiling by
> > taking regular snapshots of a program's heap. It produces a graph
> > showing heap usage over time, including information about which
> > parts of the program are responsible for the most memory
> > allocations."
> You may be skeptical, but I am confident that Massif measures stack
> usage because I wrote it.
This makes your confidence more valuable than mine :) Oh and yeah, I
tried and everything's fine, thanks!