malloc cache/trace preview

DJ Delorie dj@redhat.com
Wed Feb 10 18:01:00 GMT 2016


> I think the sbrk in the ctor of the trace tool is not ok,

It's been suggested I switch to mmap(), which makes sense if you want
a whole-program trace buffer.  The buffers are going to be huge for
some workloads.

But the tool is intended to run first, using LD_PRELOAD, so there
shouldn't be any malloc activity before it.



More information about the Libc-alpha mailing list