commit | a5697763a3a6ca1d084723229e403ae92f3a2f84 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Jan 13 14:48:01 2020 -0800 |
committer | Yabin Cui <yabinc@google.com> | Tue Jan 14 14:33:11 2020 -0800 |
tree | c99d0130e23f3f3b2524ecfb7590fefcf42fecd2 | |
parent | 10e605e0aac36ce92416b75a72501cdce37281ad [diff] |
simpleperf: prepare for selinux change. To work with controlling perf_events via selinux: 1. Check security.perf_harden property at the entry of simpleperf. 2. Record tracepoint raw data only when running as root. Bug: 139860059 Test: run simpleperf_unit_test. Change-Id: I40082de0010949e54fb707f385220157a71f266b