开发者

Does Valgrind have an API like Purify/Quantify that lets you disable data recording?

Something like this Purify开发者_开发知识库/Quantify function: quantify_stop_recording_data()


The client program can use callgrind specific client requests to control the callgrind tool (enable and disable profiling), unfortunately the memcheck client requests (for obvious reasons1) don't allow the same sort of control.

1 memory error checking is dependant on having traced the entire memory state up to the current point in time


No, it does not.

Valgrind works by encapsulating the whole run of the program, it's not pluggable.

It starts recording from the moment it beguns reading the program and only produce the output (for memory leaks) once the program has shut-down.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜