|
From: Nicholas N. <nj...@cs...> - 2007-09-13 22:06:25
|
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=yes 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. Nick |