OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |