diff options
| author | DJ Delorie <dj@delorie.com> | 2016-02-11 01:49:48 -0500 |
|---|---|---|
| committer | DJ Delorie <dj@delorie.com> | 2016-02-11 01:49:48 -0500 |
| commit | 1322011d96a58f2d7cf9658eaa91f6645ff31b1a (patch) | |
| tree | abe8a109898a46103ecccd2b9e27d517e36de06c /malloc/Versions | |
| parent | 649255b5d3d24089ecc0024972a875ee83a2be0a (diff) | |
| download | glibc-1322011d96a58f2d7cf9658eaa91f6645ff31b1a.tar.xz glibc-1322011d96a58f2d7cf9658eaa91f6645ff31b1a.zip | |
Update malloc tracing utility.
Change head pointer to be total calls; adjust users to modulo after
incrementing.
Use mmap() instead of sbrk().
Split environment variables so count and file can be specified.
Export trace hooks so mtrace-ctl can be built against libc.so.
Allow NULL to be passed to __mtrace_get_trace_buffer.
Add some error handling to mtrace-ctl.
Diffstat (limited to 'malloc/Versions')
| -rw-r--r-- | malloc/Versions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc/Versions b/malloc/Versions index f3c3d8a093..43cb90938a 100644 --- a/malloc/Versions +++ b/malloc/Versions @@ -72,5 +72,9 @@ libc { __libc_scratch_buffer_grow; __libc_scratch_buffer_grow_preserve; __libc_scratch_buffer_set_array_size; + + # malloc trace hooks for mtrace-ctl + __malloc_set_trace_buffer; + __malloc_get_trace_buffer; } } |
