Skip to content
Snippets Groups Projects
Commit 4ae43094 authored by Than McIntosh's avatar Than McIntosh
Browse files

Update perfprofd rules to allow wake_unlock inspection.

Bug: http://b/19483574

(cherry picked from commit beadf17a)

Change-Id: Ibd2898efb29209d55df1335147d9b0bb6cba77c4
parent d245789c
No related branches found
No related tags found
Loading
...@@ -30,6 +30,9 @@ userdebug_or_eng(` ...@@ -30,6 +30,9 @@ userdebug_or_eng(`
read_logd(perfprofd); read_logd(perfprofd);
write_logd(perfprofd); write_logd(perfprofd);
# perfprofd inspects /sys/power/wake_unlock
wakelock_use(perfprofd);
# simpleperf uses ioctl() to turn on kernel perf events measurements # simpleperf uses ioctl() to turn on kernel perf events measurements
allow perfprofd self:capability sys_admin; allow perfprofd self:capability sys_admin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment