xref: /aosp_15_r20/external/cronet/build/android/adb_profile_chrome (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1*6777b538SAndroid Build Coastguard Worker#!/bin/bash
2*6777b538SAndroid Build Coastguard Worker#
3*6777b538SAndroid Build Coastguard Worker# Copyright 2013 The Chromium Authors
4*6777b538SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be
5*6777b538SAndroid Build Coastguard Worker# found in the LICENSE file.
6*6777b538SAndroid Build Coastguard Worker#
7*6777b538SAndroid Build Coastguard Worker# Start / stop profiling in chrome.
8*6777b538SAndroid Build Coastguard WorkerCATAPULT_DIR="$(dirname "$0")"/../../third_party/catapult
9*6777b538SAndroid Build Coastguard Workerexec "${CATAPULT_DIR}"/systrace/bin/adb_profile_chrome "$@"
10