This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: malloc cache/trace preview


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]