aboutsummaryrefslogtreecommitdiff
path: root/malloc/Versions
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2016-07-11 20:50:34 -0400
committerDJ Delorie <dj@delorie.com>2016-07-12 22:00:44 -0400
commitb856f645a2f58a3e224976167b4b1fb030d7967b (patch)
treec15f3ce4b4d8b2f99babaae0481c601786eb452a /malloc/Versions
parente4cff5fd83963c426e3015d3595dfc69a63f1aca (diff)
downloadglibc-b856f645a2f58a3e224976167b4b1fb030d7967b.tar.xz
glibc-b856f645a2f58a3e224976167b4b1fb030d7967b.zip
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.
Diffstat (limited to 'malloc/Versions')
-rw-r--r--malloc/Versions7
1 files changed, 5 insertions, 2 deletions
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;
}