commit | 1137a8c357b1e5eabca80f98c3f34f7907794ee0 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Jun 01 13:23:29 2017 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Jun 01 14:21:31 2017 -0700 |
tree | 6f2fd53d557eb6c3fddfd379346aceaad745b928 | |
parent | 0a0e79662c04a31204eeb9ff27fc0bc7ed048c4b [diff] |
simpleperf: write -1 to perf_event_paranoid when running as root. The monitored threads may create child processes not running as root. This patch is to make sure they have permission to create inherited tracepoint events. Bug: http://b/62230699 Test: run simpleperf manually on device. Change-Id: I02798c834f8a0500057e4e1c70291cfb05c3f92d