Desperado17
Desperado17

Reputation: 1015

Valgrind massif - inverse ignore?

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

Answers (1)

phd
phd

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

Related Questions