summaryrefslogtreecommitdiff
path: root/libc/include/android/api-level.h
diff options
context:
space:
mode:
authorShibin George <shibing@codeaurora.org>2019-05-21 12:50:10 +0530
committerShibin George <shibing@codeaurora.org>2019-06-14 09:23:44 +0000
commitb81fee767e6e91c187f619940e300ba181f871ee (patch)
tree020b7aa264a7287be4321a762052e0e7bb441de1 /libc/include/android/api-level.h
parent98fa5f3e216bd8f9bc51665c8ac121726421fc98 (diff)
Avoid recording backtrace if alloc-size is outside range of interest
Steps: 1) setprop libc.debug.malloc.program <program name> 2) setprop libc.debug.malloc.options "backtrace leak_track" 3) setprop libc.debug.malloc.minalloctorecord <int> # defaults to 0 4) setprop libc.debug.malloc.maxalloctorecord <int> # defaults to SIZE_MAX With this, backtrace recording of only those allocations which fall within the desired range will be done. CRs-Fixed: 2471840 Change-Id: I586dfd590e429b53e7b1b237294f0298ff7b4017
Diffstat (limited to 'libc/include/android/api-level.h')
0 files changed, 0 insertions, 0 deletions