diff --git a/android/adb_profile_chrome b/android/adb_profile_chrome index 21f6faf7b..d3244ffdf 100755 --- a/android/adb_profile_chrome +++ b/android/adb_profile_chrome @@ -5,4 +5,5 @@ # found in the LICENSE file. # # Start / stop profiling in chrome. -exec $(dirname $0)/../../tools/profile_chrome.py $@ +CATAPULT_DIR="$(dirname "$0")"/../../third_party/catapult +exec "${CATAPULT_DIR}"/systrace/bin/adb_profile_chrome "$@" diff --git a/android/adb_profile_chrome_startup b/android/adb_profile_chrome_startup new file mode 100755 index 000000000..d5836cdf7 --- /dev/null +++ b/android/adb_profile_chrome_startup @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Copyright 2016 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# +# Start / stop profiling for chrome startup. +CATAPULT_DIR="$(dirname "$0")"/../../third_party/catapult +exec "${CATAPULT_DIR}"/systrace/bin/adb_profile_chrome_startup "$@"