Index: tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
index 97c6dbc28369a29fbd8c6101b64b8a5b2ed45f99..284da450c2c90624668bcc2440b124fc7bb2570d 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py |
@@ -77,6 +77,12 @@ Try rerunning this script under sudo or setting |
if self._is_android: |
print 'On Android, assuming $CHROMIUM_OUT_DIR/Release/lib has a fresh' |
print 'symbolized library matching the one on device.' |
+ objdump_path = os.path.join(os.environ.get('ANDROID_TOOLCHAIN', |
+ '$ANDROID_TOOLCHAIN'), |
+ 'arm-linux-androideabi-objdump') |
+ print 'If you have recent version of perf (3.10+), append the following ' |
+ print 'to see annotated source code (by pressing the \'a\' key): ' |
+ print ' --objdump %s' % objdump_path |
cmd += ' ' + ' '.join(self._PrepareAndroidSymfs()) |
print 'To view the profile, run:' |
print ' ', cmd |