Commit b81fee76 authored by Shibin George's avatar Shibin George
Browse files

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
parent 98fa5f3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment