]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Update massif implementation to xtree
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Nov 2016 14:44:42 +0000 (14:44 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Nov 2016 14:44:42 +0000 (14:44 +0000)
commite2edc5eb814be881bfd5d469610e02c165a7e06c
treed95a73fece3f493ee8464f6dbc80987862312af1
parentb10e381272c53dffcee21eb10e1a8cda9b040c66
Update massif implementation to xtree
* update massif code so as to replace the massif specific XTree implementation
  by calls to pub_tool_xtree.h
  This improves the massif performance in CPU (a few percents to a factor
   2 gained, depending on the implementation). The memory use is also
   decreased.
  With this patch, massif behaves similarly to the previous implementation.
  The differences are:
     * some massif stats output have changed, as the new implementation
       differs completely from the previous one.
     * when 2 'branches' of the call tree have consumed the same amount
       of  heap, the order in which the branches are output in the massif
       output file can differ between the old and new implementation.
  No other functional difference is expected, waiting for new bugs to
  be discovered.

* Also add support for xtree memory profiling and xtmemory gdbsrv monitor
  command in massif :
  * massif will produce xtree memory profiling according to the options
    --xtree-memory.
  * addition of the xtmemory gdbserver monitor command.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16129
gdbserver_tests/mssnapshot.stderrB.exp
massif/ms_main.c
massif/tests/alloc-fns-B.post.exp
massif/tests/culling1.stderr.exp
massif/tests/culling2.stderr.exp
massif/tests/deep-B.stderr.exp
massif/tests/deep-C.stderr.exp
massif/tests/long-names.post.exp
massif/tests/peak2.stderr.exp
massif/tests/realloc.stderr.exp