Add malloc probes for sbrk and heap resizing.
commit322dea08387167e3c3a9c9b60325ebafa264bd77
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 20 Sep 2013 14:10:56 +0000 (20 11:10 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 20 Sep 2013 14:54:58 +0000 (20 11:54 -0300)
tree7239f9202a5035c424b38196868cec5cb28b45a4
parent655673f312318a9d95b71ef9f95a59ff36b0a487
Add malloc probes for sbrk and heap resizing.

for ChangeLog

* malloc/arena.c (new_heap): New memory_heap_new probe.
(grow_heap): New memory_heap_more probe.
(shrink_heap): New memory_heap_less probe.
(heap_trim): New memory_heap_free probe.
* malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
(systrim): New memory_sbrk_less probe.
* manual/probes.texi: Document them.
ChangeLog
malloc/arena.c
malloc/malloc.c
manual/probes.texi