commit | 5b15baeb1ea3143ada653b9292ad851c02ad574e | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Mar 06 17:27:54 2017 -0800 |
committer | Yabin Cui <yabinc@google.com> | Tue Mar 07 11:05:55 2017 -0800 |
tree | 5843dd044a03c8b2f2c199e72577718b917896a5 | |
parent | 2b291121b92f44971e702929d7ae4cc7d5e35078 [diff] |
Make /proc/sys/kernel/perf_event_max_sample_rate accessible to untrusted_app. perf_event_max_sample_rate is needed to be read for native profiling, otherwise CTS test can fail on devices with kernel >= 4.4. Before this CL, the file is not readable from untrusted_app domain. This CL makes it readable from both shell domain and untrusted_app domain. Bug: http://b/35554543 Test: build and test on marlin. Change-Id: Id118e06e3c800b70a749ab112e07a4ec24bb5975