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
EADME.md
|
dcb2a3e580f155bb28621c4cbad019d104e8f300 |
19-May-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: enable two options by default. Enable dumping symbols in record cmd by default, and change --dump-symbols option into --no-dump-symbols option. Show brief call graph in report cmd by default, and change --brief-callgraph option into --full-callgraph option. Make the change because these two behaviors are always recommended. Bug: None. Test: run simpleperf_unit_test. Change-Id: Icff6a843a7f46c56313500f4da119aa5118a57e5
EADME.md
|