b8439265477bac5e32131a757e90abf510a77bf9 |
|
13-Jul-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: replace config file with cmdline options. 1. For binary_cache_builder.py, annoate.py and pprof_proto_generator.py, there are only a few options, use a config file seems overkill, so replace them with cmdline options. 2. Add cmdline interface for app_profiler.py. It is to simplify usage, and can be called from tests (will be added). 3. Simplify the way to find tools (including adb,readelf,addr2line), try to find them in default install location of sdk and ndk. And output error/warning msg if not found. 4. Raise exception in python are not always helpful for users to find problems, because the error msg is hidden by exception stack dump. So replace some log_fatal() with log_exit(). 5. Change README.md accordingly. Bug: http://b/32834638 Test: run scripts manually. Change-Id: Ic60e496edbe748b801d35144da29f40c3db3e250
/system/extras/simpleperf/scripts/pprof_proto_generator.py
|
9c5dc5b040c049021fd7d0ac7bab7317cdcf0a2f |
|
12-May-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: make pprof_proto_generator.py work without binary_cache_dir. Bug: http://b/32834638 Test: run pprof_prot_generator.py with only perf.data. Change-Id: I686d6e968ab8703402223334e8ddb83e966a08f8
/system/extras/simpleperf/scripts/pprof_proto_generator.py
|
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/pprof_proto_generator.py
|
5bcac01d4dbced62bbbd2f334eb662af43148f6e |
|
13-Apr-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: fix pprof proto generator. Bug: http://b/36988814 Test: run pprof_proto_generator.py and no function_id == 0. Change-Id: I42bead12818e2d9396c4e52afc2dca84558d7731
/system/extras/simpleperf/scripts/pprof_proto_generator.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/pprof_proto_generator.py
|