Reputation: 1015
Is there a parameter in valgrind massif that allows me to only track allocations made by certain functions and classes? I would like to make a run that only traces (de)allocations made by std::vector.
Regards
Upvotes: 0
Views: 221
Reputation: 3807
Using the option --xtree-memory=full, you might be able to visualise the stacktraces that are interesting you.
See http://www.valgrind.org/docs/manual/manual-core.html#manual-core.xtree for more details.
Upvotes: 0