commit | cf31e9d83d3fff0c0970aa344366136e4d5126a7 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Jul 14 14:29:33 2016 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Jul 14 14:43:55 2016 -0700 |
tree | c02ef798b353da7202bcfcc10e74a148114223c3 | |
parent | e5b5cf07c7c092a178f25dadff8842e9000d0e1f [diff] |
simpleperf: fix unwind stack size. Currently, to work around the bug in N9, simpleperf uses all dumped user stack for unwinding. However, not all of the data is valid, which can make unwinding result annoying. So fix this by using only valid stack data if dyn_size != 0. Bug: 29574526 Test: run simpleperf_unit_test and use simpleperf manually. Change-Id: Idaa82f3156215fc4fb902d96de290e43726b0e17