diff options
author | Yabin Cui <yabinc@google.com> | 2017-07-17 18:27:29 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-17 18:27:29 +0000 |
commit | 813e6cbea9062525586daca79cbeb2b09cd538f0 (patch) | |
tree | 83ed9eb15e969b034ed50625ce67e186e1062d5d /simpleperf/scripts/app_profiler.config | |
parent | 525b125bed44833e9899f5fdcd38b29c409dfaa1 (diff) | |
parent | 1688f3939797b09fef7f87468192ce6850aec89c (diff) | |
download | extras-813e6cbea9062525586daca79cbeb2b09cd538f0.tar.gz |
Merge "simpleperf: replace config file with cmdline options." am: e5ad887a62 am: 271a040687 am: ac882615b5
am: 1688f39397
Change-Id: I5c923e680e63db67e022a7ae447ba66fed9b6f63
Diffstat (limited to 'simpleperf/scripts/app_profiler.config')
-rw-r--r-- | simpleperf/scripts/app_profiler.config | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/simpleperf/scripts/app_profiler.config b/simpleperf/scripts/app_profiler.config index 752b85f7..9102cf0c 100644 --- a/simpleperf/scripts/app_profiler.config +++ b/simpleperf/scripts/app_profiler.config @@ -4,7 +4,7 @@ import os import os.path # The name of the android package, like com.example.android. -app_package_name = "com.example.android" +app_package_name = "" # Path of android studio project. It is used to find debug version of native shared libraries. @@ -43,11 +43,6 @@ launch_activity = '.MainActivity' launch_inst_test = '' -if recompile_app and not launch_activity and not launch_inst_test: - raise Exception('one of [launch_activity or launch_inst_test] is' - + 'needed for [recompile_app] to take effect.') - - # Profiling record options that will be passed directly to `simpleperf record` command on device. # You can set how long to profile using "--duration" option, or use Ctrl-C to stop profiling. record_options = "-e cpu-cycles:u -f 4000 -g --duration 10" @@ -57,15 +52,6 @@ record_options = "-e cpu-cycles:u -f 4000 -g --duration 10" perf_data_path = "perf.data" -# The path of adb. -adb_path = "adb" - - -# The path of readelf, used to read build id of files in binary cache. -# Set to "" if not available. -readelf_path = "readelf" - - -# binary_cache_dir is used to cache binaries pulled from device. To report precisely, we pull each -# binary hit by perf.data on host. -binary_cache_dir = "binary_cache" +# Collect binaries used in profiling data from device to binary_cache directory. +# It can be used to annotate source code. +collect_binaries = True |