Something like this Purify/Quantify function: quantify_stop_recording_data()
Asked
Active
Viewed 926 times
2 Answers
2
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

James
- 24,676
- 13
- 84
- 130
-
Right, callgrind can do that. Deleting my answer :) – Laurynas Biveinis May 10 '11 at 18:48
0
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.

Matthieu M.
- 287,565
- 48
- 449
- 722