Valgrind massif - inverse ignore?

176 views Asked by At

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

1

There are 1 answers

2
phd On

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.