commit | e5defe1549a03dcd37860728789d990cf45e7405 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Mar 23 15:55:50 2022 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Mar 23 16:06:13 2022 -0700 |
tree | a6f6e3661a6f84432f68a54288771bd988ba224b | |
parent | 9fc6ef04b019bb7411c1f43aecf0172a9ca0689c [diff] |
simpleperf: read jit descriptor and dex descriptor separately. Current code relies on jit descriptor and dex descriptor near each other in data section, and reads them together. But this assumption isn't true in hwasan build. So switch to read jit descriptor and dex descriptor separately. Also change to decide if a process is 64bit by checking the elf file type of libart.so. Bug: 226250109 Test: run simpleperf_unit_test Change-Id: I9d0073427e14fc4f476af94f43c47c10d5633987