• primiano's avatar
    [Android] memory_inspector: move to libheap_profiler. · c8cd4b80
    primiano authored
    This change moves towards the new libheap_profiler + heap_dump for
    profiling native allocations, instead of lib.debug.malloc.
    It introduces the code to install the library in the system (wrapping
    the Android zygote) and the parsers.
    Compared to the lib.debug.malloc, libheap_profiler is much much faster
    (less overhead) and able to hook also mmaps. Its output is very
    detailed and allows to get stack traces for each VM region. This will
    make it possible to intersect, in the near future, mmaps and native
    stack traces.
    This change also introduces the support to multiple ABIs to support
    both arm and arm64.
    
    BUG=340294
    NOTRY=true
    
    Review URL: https://codereview.chromium.org/549313006
    
    Cr-Commit-Position: refs/heads/master@{#295031}
    c8cd4b80
ps_ext-android-arm64.sha1 40 Bytes