• Christopher Ferris's avatar
    Find abi before trying to decode the stack. · b8e1760d
    Christopher Ferris authored
    The CallStack function prints stacks to the log. Unfortunately, our
    stack script defaults to arm, so if the data is actually arm64, we'll
    do nothing. Modify the script to parse the input trying to determine
    the abi before processing the rest of the lines. At the very least,
    we'll be able to correctly choose between arm and arm64.
    
    The only downside, is that, the old method could take dumps from different
    abis, but no one I know does this.
    
    Bug: 26569638
    
    (cherry picked from commit bf8a9402)
    
    Change-Id: I8dba5cc4910c4a81996999b8699915f1d55b4979
    b8e1760d
stack_core.py 18 KB