98058a897528620916427e96485c58b8a534c6b3 |
|
08-May-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix scripts to be runnable by python3. Bug: http://b/32834638 Test: run scripts with demo using both python and python3. Change-Id: I5cb7eb41bed0e2a91f4cbc97c386dd527aa3186a
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
cbddd3829b6cf125340d1795f04931a5c8ff83ef |
|
03-May-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix scripts on windows. 1. Fix handling windows path like C:\xxx. 2. Fix adding windows executable suffix. 3. Fix one indent error in annotate.py. 4. Collect libwinpthread-1.dll in update.py. 5. simpleperf.exe on windows x86_64 doesn't work, replace it with simpleperf.exe on windows x86. Bug: http://b/37788631 Test: run demo examples on windows. Change-Id: I7195881149e70f1af9a60efc41e65fe301c62984
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
129b5d2f72fbee901a504d328da5a9037b03a7b6 |
|
16-Mar-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: add script to generate proto data used by pprof. Also change Addr2Line to support inline functions. Bug: http://b/35726123 Test: run gen_pprof_proto.py manually. Change-Id: Ia2f84ac142e7075ea902f3456235db24567e4fcd
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
8d367acde0d5fd09a3427703dc11583d44eb8199 |
|
06-Jan-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: update scripts to use binaries in bin/. Bug: http://b/32834638 Test: run python scripts like report_sample.py. Change-Id: Ia37e7b34babe7ba3df88b38ec6e6bc15241f50d8
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
c5f4f7e30bf4d1becffbefe99cc8b7a0f76cdb8a |
|
30-Nov-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: add binary_cache_builder script. To report on host, we need to pull binaries from device to host. binary_cache_builder.py is used to pull needed binaries automatically. Other changes: Move common functions to utils.py. Move libsimpleperf_report.so to proper directory, so we can add other host shared libraries and target binaries in the future. Bug: http://b/32834638 Test: run binary_cache_builder.py for N, O devices, both root and non-root. Change-Id: Ifa8931842087ed43d1e530e40ca0254cbf9ea3a9
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
4ff9c6fd83baa05effade39a2a000b1b233fa371 |
|
29-Nov-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: improve script interface. 1. In ReportLib, return structure instead of pointer to structure. So users can use 'sample' instead of 'sample[0]', as in report_sample.py. 2. For python3, convert char pointer to str type. Because str is more convenient to use. Bug: http://b/32834638 Test: run simpleperf_report_lib.py and report_sample.py. Change-Id: Iee8c3570e82104c5dd02f3f657ac143d1fdc2233
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
52c6369cd3bc5dfb5f05b4e3b2c66aec47065c04 |
|
29-Nov-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: add stuff in report_lib_interface. It's a preparation to annotate binaries, containing following changes: 1. Export build_id for binaries. 2. Export function virtual addresses. 3. Add unit tests in simpleperf_report_lib.py. Bug: http://b/32834638 Test: simpleperf_unit_test. Test: run `python simpleperf_report_lib.py`. Change-Id: Ieed40935ff9ede44bf823ba9c88ad87806ffac0a
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
b2465ad8bae68531dd9dbed88be469612cd7229a |
|
17-Oct-2016 |
Daniel Friederich <dfriederich@magicleap.com> |
Support to use kallsyms Also: - Adapt to use with Python 3 (where str is a wide type but our C API's expect 8 bit character strings) - Use OS specific so names (e.g. simpleperf_report.dll on Windows) - On Windows as we use mingw to build, preload libwinpthread-1.dll. Test: with manual incovation using report_sample.py Change-Id: Id973c463608c520b8eec229026c74dc5e8144cf8
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
0e48e18171e17c76834916c2c87360195edf8667 |
|
12-Oct-2016 |
Daniel Friederich <dfriederich@magicleap.com> |
Support for multiple instances Allows to use separate instances for separate perf.datai files (and possibly also separate instances on separate threads) Test: Tested by running report_sample.py Change-Id: I0ebdb3c650a4540f07237b515d451d69ec3810e6
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|
a447c0d5f1d5227af30c0cbb4320ad878bd78c43 |
|
26-Aug-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: add python report interface on linux. 1. Build libsimpleperf_report.so on host, which exports functions to access samples. 2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so. 3. Write report_sample.py to test simpleperf_report_lib.py. The output format of report_sample.py matches the need of building FlameGraph. Bug: http://b/31069528 Test: run report_sample.py on perf.data. Test: run simpleperf_unit_test. Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853
/system/extras/simpleperf/scripts/simpleperf_report_lib.py
|