Allow dumpstate to access PSI statistics
dumpstate need to access /proc/pressure/{cpu,mem,io} Bug: 141884936 Test: adb bugreport and check bugreport file includes PSI metric Change-Id: I01e7376206c07c1700d6ffe3690d61a1db8dfe84 Signed-off-by: Minchan Kim <minchan@google.com>
This commit is contained in:
parent
ec0b62e197
commit
8dfe383b2a
@ -276,6 +276,10 @@ allow dumpstate ion_device:chr_file r_file_perms;
|
||||
# Allow dumpstate to run top
|
||||
allow dumpstate proc_stat:file r_file_perms;
|
||||
|
||||
allow dumpstate proc_pressure_cpu:file r_file_perms;
|
||||
allow dumpstate proc_pressure_mem:file r_file_perms;
|
||||
allow dumpstate proc_pressure_io:file r_file_perms;
|
||||
|
||||
# Allow dumpstate to talk to installd over binder
|
||||
binder_call(dumpstate, installd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user