commit | c01270f9482e3a6adcb6c629617e9c6eddebad02 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Jun 29 14:52:47 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Jul 09 16:03:30 2018 -0700 |
tree | 949b68c5a98e223478b832f3af957d21c44265f6 | |
parent | 76807581e04e4010c53035334c34e2b630038871 [diff] |
Add debug system properties to control profiling limits. When security.perf_harden is disabled through adb, use some debug system properties to set profiling limits in the kernel, including cpu percentage, memory, and max sample rate. Bug: 110706031 Test: boot hikey960 and manually set system properties to make Test: sure it works. Change-Id: I44c0adf3a000bb393905233f2a097c97b5fe91ec