|
From: Bart V. A. <bar...@gm...> - 2006-11-20 12:14:59
|
By this time I found out that massif reports the total stack size used by all threads in a graph (.ps file). What I would like is the stack size used per thread, as a number. Is this possible with Valgrind ? On 11/20/06, Bart Van Assche <bar...@gm...> wrote: > > If I may ask a dumb question: the massif documentation ( > http://www.valgrind.org/docs/manual/ms-manual.html) specifies that it is > possible to obtain information about stack sizes with massif. Which command > line options should I pass to massif in order to obtain information about > the maximum number of bytes used on each thread's stack during a program's > lifetime ? > Note: I know that the current usage and the maximum allowed stack size can > be obtained from /proc/*/stat and /proc/*/maps respectively, but this is not > what I'm looking for. > |