From b856f645a2f58a3e224976167b4b1fb030d7967b Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 11 Jul 2016 20:50:34 -0400 Subject: Update to new binary file-based trace file. In order to not lose records, or need to guess ahead of time how many records you need, this switches to a mmap'd file for the trace buffer, and grows it as needed. The trace2dat perl script is replaced with a trace2wl C++ program that runs a lot faster and can handle the binary format. --- malloc/Versions | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'malloc/Versions') diff --git a/malloc/Versions b/malloc/Versions index 6f03a46735..5f6565ca0b 100644 --- a/malloc/Versions +++ b/malloc/Versions @@ -74,8 +74,11 @@ libc { __libc_scratch_buffer_set_array_size; # malloc trace hooks for mtrace-ctl - __malloc_set_trace_buffer; - __malloc_get_trace_buffer; + __malloc_trace_init; + __malloc_trace_pause; + __malloc_trace_unpause; + __malloc_trace_stop; + __malloc_trace_sync; __malloc_scan_chunks; } -- cgit v1.2.3