diff options
author | Yabin Cui <yabinc@google.com> | 2016-11-16 12:26:13 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2016-11-16 18:46:39 -0800 |
commit | 417df291499b37f63fa9b930e081d80a25bf38ec (patch) | |
tree | 90f118e851739c0ba6a36103c99cd693be886166 /simpleperf/nonlinux_support | |
parent | 960a81aaeb33f39bc8afc31c144686832f8e1dda (diff) | |
download | extras-417df291499b37f63fa9b930e081d80a25bf38ec.tar.gz |
simpleperf: fix dumping arm regs on arm64 devices.
On arm64 devices, the kernel dumps arm64 regs
even for 32-bit processes. So we need to map
from arm64 registers to arm registers.
Bug: http://b/30974693
Test: run simpleperf manually on one app.
Change-Id: Iffeac9510b418b5dabc0604c16523887d63bba49
Diffstat (limited to 'simpleperf/nonlinux_support')
-rw-r--r-- | simpleperf/nonlinux_support/nonlinux_support.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/nonlinux_support/nonlinux_support.cpp b/simpleperf/nonlinux_support/nonlinux_support.cpp index 58c1ba08..f132dd92 100644 --- a/simpleperf/nonlinux_support/nonlinux_support.cpp +++ b/simpleperf/nonlinux_support/nonlinux_support.cpp @@ -20,7 +20,7 @@ #include "dwarf_unwind.h" #include "environment.h" -std::vector<uint64_t> UnwindCallChain(ArchType, const ThreadEntry&, const RegSet&, +std::vector<uint64_t> UnwindCallChain(int, const ThreadEntry&, const RegSet&, const char*, size_t, bool) { return std::vector<uint64_t>(); } |