commit | ba4e42a893749a9f16de48c53f9cdfbcfa49d3ae | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Mar 16 19:38:23 2020 -0700 |
committer | Yi Kong <yikong@google.com> | Fri Apr 24 00:47:55 2020 +0800 |
tree | 0d27a71d1ecfef535b282ec814d4e97ae49724ca | |
parent | 0a3eb7e28bafafce2dcf396fee86f75f7897b9df [diff] |
simpleperf: add class interface to read elf files. This is to keep file mapping memory buffer. And support reading more than one content in one open instance in the future. It also supports embedded elf files in apks as normal elf files. Bug: 153039105 Test: run simpleperf_unit_test. Change-Id: Ia424926d112cbcd9970f11ffa56d047ff6df7872 Merged-In: Ia424926d112cbcd9970f11ffa56d047ff6df7872 (cherry picked from commit 02e2033f9ef34be0189e151bf6fef60b1285afd9)