OSDN Git Service

Add a way to disable backtracing in malloc debug.
authorChristopher Ferris <cferris@google.com>
Thu, 7 Aug 2014 23:21:21 +0000 (16:21 -0700)
committerChristopher Ferris <cferris@google.com>
Fri, 8 Aug 2014 07:16:29 +0000 (00:16 -0700)
commit49de01a5be7bfb07baaea7415647d838383e1b59
treeda0ef3417ed7a633c4ba11fc25b0403577feb325
parent43227c0b400a33dc9722269beda26313c391fb1e
Add a way to disable backtracing in malloc debug.

The property libc.debug.malloc.nobacktrace set to non-zero disables
getting backtracing when using mode 1 or mode 10.

Bug: 16874447

Change-Id: I7650ba9f4385b5110b743cab01e877fc69545b3c
libc/bionic/malloc_debug_backtrace.h [new file with mode: 0644]
libc/bionic/malloc_debug_check.cpp
libc/bionic/malloc_debug_leak.cpp