commit | 4f0da7cb8256bd7038e16e573e1a6c259e04b0a3 | [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 | 4251739928355f4fb74d0cb79ea68319949bfe79 [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