ftmemsim-valgrind/memcheck/tests/recursive-merge.vgtest
Philippe Waroquiers 6fb1158a78 Implement --merge-recursive-frames + provide VALGRIND_MONITOR_COMMAND client req.
In a big applications, some recursive algorithms have created
hundreds of thousands of stacktraces, taking a lot of memory.

Option --merge-recursive-frames=<number> tells Valgrind to
detect and merge (collapse) recursive calls when recording stack traces.
The value is changeable using the monitor command
'v.set merge-recursive-frames'.

Also, this provides a new client request: VALGRIND_MONITOR_COMMAND
allowing to execute a gdbsrv monitor command from the client
program.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13246
2013-01-20 17:11:58 +00:00

4 lines
114 B
Plaintext

prog: recursive-merge
args: a aa aaa aaaa abab abca abcda
vgopts: -q --leak-check=full --merge-recursive-frames=1