diff options
Diffstat (limited to 'debug/test/build_leak_list')
-rwxr-xr-x | debug/test/build_leak_list | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debug/test/build_leak_list b/debug/test/build_leak_list new file mode 100755 index 0000000..845692d --- /dev/null +++ b/debug/test/build_leak_list @@ -0,0 +1,11 @@ +#! /bin/sh + +if test "x$TEST_PARTED_BASE" = "x"; then + TEST_PARTED_BASE=~parted/parted-dev +fi + +mtrace $TEST_PARTED_BASE/parted/.libs/parted $MALLOC_TRACE \ + | grep libparted \ + | sed 's/ at.*//' \ + | sed 's/^\(0x[0-9a-f]\+\) \+\(0x[0-9a-f]\+\) */ {\1, \2},/' \ + | less |