417df291499b37f63fa9b930e081d80a25bf38ec |
|
16-Nov-2016 |
Yabin Cui <yabinc@google.com> |
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
/system/extras/simpleperf/dwarf_unwind.h
|
cf31e9d83d3fff0c0970aa344366136e4d5126a7 |
|
14-Jul-2016 |
Yabin Cui <yabinc@google.com> |
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
/system/extras/simpleperf/dwarf_unwind.h
|
040f7b4c62ce49f0af0746640e94d415764262cd |
|
14-Apr-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: use libbacktrace_offline static library. Device may not have libbacktrace_offline shared library, so always using libbacktrace_offline static library. Use simpleperf namespace to avoid conflicts with ThreadEntry in libbacktrace. Bug: 28152982 Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c
/system/extras/simpleperf/dwarf_unwind.h
|
4b6720d137c15b9485318255e89ffcd3c76ab579 |
|
31-Mar-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: loosen unwinding arch check for system wide collection. When doing system wide collection, it is possible that there are 32-bit compat processes running on 64-bit devices. It is not proper to abort in this situation. So loosen the check to allow it. Also add corresponding test. Bug: 27927427 Change-Id: I5c9253eb6e474497e4f37e234e0e523e141fab20
/system/extras/simpleperf/dwarf_unwind.h
|
48460892306fbc232d7623b1aa5be1aefdc1a8a7 |
|
18-Mar-2016 |
Yabin Cui <yabinc@google.com> |
Simpleperf: remove dependency on global current_arch. When running unit tests on arm64 devices: [OK] ReportCommandTest.dwarf_callgraph [OK] record_cmd.dwarf_callchain_sampling. ERROR: can't unwind data recorded on a different architecture. It is because ReportCommandtest.dwarf_callgraph opens a perf.data recorded on x86_64, and changes current_arch. It causes a problem when the test record_cmd.dwarf_callchain_sampling calls libbacktrace built on aarch64. Athough it doesn't make the test fail, we should fix this. Change-Id: I2cd70369a769ef2199cab2302b8b824369be0907
/system/extras/simpleperf/dwarf_unwind.h
|
8a52e97bfd6e2c59ef48fedb277168a7bfbeec46 |
|
01-Oct-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: warn if it can't read kernel symbols addresses. And a little format adjustment. Bug: 24404256 Change-Id: Ie8dcd37138a693df18101d415e6e3243f4963582
/system/extras/simpleperf/dwarf_unwind.h
|
3c8c21345478816dd0c70c096090b564c91bd9d2 |
|
14-Aug-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support dwarf callgraph in report command. Use libbacktrace for stack unwinding. Bug: 22229391 Change-Id: Iab35cdb52936c65c4728e23423ded83050f1db76
/system/extras/simpleperf/dwarf_unwind.h
|