malloc probes for Systemtap
Alexandre Oliva
aoliva@redhat.com
Tue Sep 4 23:40:00 GMT 2012
I was asked to introduce probes in malloc to aid in debugging cases in
which our memory allocation code performs poorly.
I've grouped the probes in separate patches, in which the probes are
logically connected. I'd appreciate feedback on the soundness of the
probe set: did I miss anything in these groups that is worth probing?
is any of the probes uselessly redundant? are they desirable at all?
Are they ok for master? Do the docs look reasonable, description and
formatting-wise? (The only other probe docs I found in glibc were in
elf/rtld-debugger-interface.txt)
The version of the patchset I pushed to lxoliva/malloc-probes-bz742038
depends on Siddhesh's patch that introduces get_another_arena. Although
I've just suggested changes to it, I decided to post the patchset as it
is, since most of it applies cleanly anyway, and regardless of
adjustments needed for Siddhesh's patch, I suspect we might go through
more than one round of review before my patchset can go in anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-malloc-probes.patch
Type: text/x-diff
Size: 3593 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05-mallopt-detailed-probes.patch
Type: text/x-diff
Size: 7123 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06-malloc-probe-arena-changes.patch
Type: text/x-diff
Size: 6143 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07-malloc-probe-retries.patch
Type: text/x-diff
Size: 4237 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 08-malloc-probe-get-another-arena.patch
Type: text/x-diff
Size: 1953 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09-malloc-probe-heaps.patch
Type: text/x-diff
Size: 4646 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120904/30fa4210/attachment-0005.bin>
-------------- next part --------------
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the Libc-alpha
mailing list