commit | 078658638c01c035ebcb98a557628101566a1d57 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Aug 22 13:39:19 2016 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Aug 22 13:40:30 2016 -0700 |
tree | c60df085398b1d775db1e6f614be0b6d68ee2907 | |
parent | cb0112fe640d7b8a9668f91d2cad7234bd63f880 [diff] |
simpleperf: avoid selinux denials. 1. Don't stat() entries in /proc directory if not necessary. 2. Don't read tracing events in debugfs if not root. Bug: http://b/30981595 Change-Id: Ic695671357dad936d60f4e6d573ce4452dec217c Test: run `simpleperf list` and check kmsg.