bionic/libc
Christopher Ferris fee09e556f Return total footprint, not high water mark.
The mallinfo usmblks value returned by dlmalloc is a little misleading.
It's not the current max, it's the historical high water mark. This
leads to dumpsys meminfo producing native memory numbers that don't add up.
Change this to the real total footprint, not this high water mark.

Bug: 17265653

(cherry pick from commit f4ada9c9ce)

Change-Id: I2fba10285859dccfe8331063c9be14cc169f2d91
2014-10-13 12:45:35 -07:00
..
arch-arm Add stpcpy assembler version. 2014-09-30 19:23:26 -07:00
arch-arm64 Add __memcpy_chk assembly for 64 bit. 2014-09-26 12:47:04 -07:00
arch-common/bionic Revert "Register __libc_fini as early as possible." 2014-09-04 21:54:34 +00:00
arch-mips Clean up the architecture-specific makefiles. 2014-09-16 19:06:31 -07:00
arch-mips64 Remove arch-mips64/bionic/__get_sp.S 2014-09-30 07:55:32 +08:00
arch-x86 Force export symbols on all x86 variants in libc. 2014-10-06 16:41:46 -07:00
arch-x86_64 Clean up the architecture-specific makefiles. 2014-09-16 19:06:31 -07:00
bionic Fix pthread_attr_getstack under valgrind. 2014-10-09 14:01:47 -07:00
dns Replace uses of sprintf(3) with snprintf(3). 2014-10-08 16:12:27 -07:00
include Merge "Revert "Work around a bug in Immersion's libImmEmulatorJ.so."" 2014-10-08 16:40:58 +00:00
kernel Move to v3.16.3 kernel headers. 2014-09-18 13:14:58 -07:00
private Add semaphore tests, fix sem_destroy. 2014-09-19 17:37:06 -07:00
stdio Add back symbols to fix Greed for Glory franchise. 2014-10-09 22:23:50 -07:00
tools Force export symbols on all x86 variants in libc. 2014-10-06 16:41:46 -07:00
tzcode Use snprintf(3) instead of sprintf(3). 2014-10-08 17:10:26 -07:00
upstream-dlmalloc Return total footprint, not high water mark. 2014-10-13 12:45:35 -07:00
upstream-freebsd Update our FreeBSD realpath(3) to upstream head. 2014-09-30 16:40:41 -07:00
upstream-netbsd Switch to OpenBSD insque/remque/killpg. 2014-09-23 14:06:56 -07:00
upstream-openbsd Switch to OpenBSD fopen/fclose. 2014-09-24 11:14:36 -07:00
zoneinfo Update bionic to tzdata 2014h. 2014-09-30 17:35:38 -07:00
Android.mk Use LOCAL_CXX_STL to select libc++_static. 2014-10-13 11:20:29 -07:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update NOTICE files. 2014-09-13 09:42:41 -07:00
SYSCALLS.TXT Fix mips __fadvise64.S build failure. 2014-09-11 10:10:08 -07:00