Does valgrind -tool=massif have a similar control like callgrind to profile memory for only a certain period? Can we turn the profiling on and off during a problem run?
Asked
Active
Viewed 257 times
1 Answers
1
No. Massif does not even have a header with user request macros.
It's not what you're asking, but if you're using Massif you might be interested in the new xtree result visualization feature, part of the imminent Valgrind 3.13

Paul Floyd
- 5,530
- 5
- 29
- 43
-
When will 3.13 release? – Joe C Jun 09 '17 at 15:53
-
I believe the target date is 15 June. – Paul Floyd Jun 09 '17 at 16:03
-
Is http://man7.org/linux/man-pages/man1/valgrind.1.html the release node of 3.13? I did not see the xtree-syscall option discussed in the slides? – Joe C Jun 09 '17 at 16:21
-
xtree syscall is experimental/unfinished/... --xtree-memory and --xtree-leak (for memcheck) are part of 3.13. Note that by using memcheck + vgdb commands to produce xtree leak reports, you can see what increase/decrease memory you have got during a certain period – phd Jun 09 '17 at 19:36