Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
valgrind massif 中是否有一个参数允许我只跟踪某些函数和类的分配?我想进行一次仅跟踪(取消)std::vector 分配的运行。
问候
使用选项 --xtree-memory=full,您可能能够可视化您感兴趣的堆栈跟踪。
有关详细信息,请参阅http://www.valgrind.org/docs/manual/manual-core.html#manual-core.xtree 。