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

Side by Side Diff: tools_webrtc/android/profiling/utilities.sh

Issue 2864213004: Rename tools-webrtc -> tools_webrtc (Closed)
Patch Set: REmove symlink Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « tools_webrtc/android/profiling/perf_setup.sh ('k') | tools_webrtc/android/suppressions.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 3 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license 5 # Use of this source code is governed by a BSD-style license
6 # that can be found in the LICENSE file in the root of the source 6 # that can be found in the LICENSE file in the root of the source
7 # tree. An additional intellectual property rights grant can be found 7 # tree. An additional intellectual property rights grant can be found
8 # in the file PATENTS. All contributing project authors may 8 # in the file PATENTS. All contributing project authors may
9 # be found in the AUTHORS file in the root of the source tree. 9 # be found in the AUTHORS file in the root of the source tree.
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 adb shell setprop security.perf_harden 0 145 adb shell setprop security.perf_harden 0
146 } 146 }
147 147
148 # To make the report of symbols on device successful, we need to execute 148 # To make the report of symbols on device successful, we need to execute
149 # `echo 0 >/proc/sys/kernel/kptr_restrict`. 149 # `echo 0 >/proc/sys/kernel/kptr_restrict`.
150 # Only needed if we run report commands on the same machine as we run 150 # Only needed if we run report commands on the same machine as we run
151 # record commands. 151 # record commands.
152 function enable_report_symbols() { 152 function enable_report_symbols() {
153 adb shell "echo 0 > /proc/sys/kernel/kptr_restrict" 153 adb shell "echo 0 > /proc/sys/kernel/kptr_restrict"
154 } 154 }
OLDNEW
« no previous file with comments | « tools_webrtc/android/profiling/perf_setup.sh ('k') | tools_webrtc/android/suppressions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698