开发者

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

开发者 https://www.devze.com 2023-03-05 08:36 出处:网络
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 dis

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

精彩评论

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