]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Account for all heaps in an arena in malloc_info [BZ #22439]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 15 Nov 2017 10:40:41 +0000 (11:40 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 15 Nov 2017 10:40:41 +0000 (11:40 +0100)
commit34eb41579c6c34fa60ec6f1aac7b70ba6e1bebcc
treed6b42f67cca44928b1d4eb83547212f9b250a45f
parent7a9368a1174cb15b9f1d6342e0e10dd90dae238d
malloc: Account for all heaps in an arena in malloc_info [BZ #22439]

This commit adds a "subheaps" field to the malloc_info output that
shows the number of heaps that were allocated to extend a non-main
arena.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
ChangeLog
NEWS
malloc/malloc.c