Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: tools/perf/record_android_profile.py

Issue 511653002: Add profiling_controller that manages profilers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/profilers_controller/profiling_controller Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/perf/record_android_profile.py
diff --git a/tools/perf/record_android_profile.py b/tools/perf/record_android_profile.py
index 8c8c5ab2c6be65f83a5801bfe7e736c3b1c9f24a..a9292e8416811aee5c7683e90aa2c7db19954dc0 100755
--- a/tools/perf/record_android_profile.py
+++ b/tools/perf/record_android_profile.py
@@ -20,7 +20,8 @@ def _RunPrebuilt(options):
output_file = os.path.join(tempfile.mkdtemp(), options.profiler)
raw_input('Press enter to start profiling...')
print '>> Starting profiler', options.profiler
- browser.StartProfiling(options.profiler, output_file)
+ browser.platform.profiling_controller.StartProfiling(
+ options.profiler, output_file)
print 'Press enter or CTRL+C to stop'
try:
raw_input()

Powered by Google App Engine
This is Rietveld 408576698