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() |