commit | 3d4aa26ae99db7576f352771d704bd9da9a55bcd | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Nov 01 15:58:55 2017 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Nov 02 11:20:18 2017 -0700 |
tree | 161cf9ed264aed0daa3d3a7217954d56db9078a9 | |
parent | 29c0043b5334432afc01584f435585c2d2da49fe [diff] |
simpleperf: fix callchains generated by the kernel. The kernel stores return addrs in the callchain, but we want the addrs of call instructions along the callchain. So adjust callchains generated by the kernel. Also avoid using const_cast<> in record.cpp by constructing Record classes with non const buffers. Bug: None. Test: `python report_html.py --add_disassembly`. Test: run simpleperf_unit_test. Change-Id: I8c5f369e333ec9bc96cf5b5166ac670c3e3b5c62