Merge "traced_probes: allow traced_probes to access diskstats info"
This commit is contained in:
commit
37eb6de3d0
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ allow traced_probes {
|
||||||
allow traced_probes sysfs_devfreq_dir:dir r_dir_perms;
|
allow traced_probes sysfs_devfreq_dir:dir r_dir_perms;
|
||||||
allow traced_probes sysfs_devfreq_cur:file r_file_perms;
|
allow traced_probes sysfs_devfreq_cur:file r_file_perms;
|
||||||
|
|
||||||
|
# Allow access to read /proc/diskstats for I/O profiling.
|
||||||
|
allow traced_probes proc_diskstats:file r_file_perms;
|
||||||
|
|
||||||
# Allow access to the IHealth and IPowerStats HAL service for tracing battery counters.
|
# Allow access to the IHealth and IPowerStats HAL service for tracing battery counters.
|
||||||
hal_client_domain(traced_probes, hal_health)
|
hal_client_domain(traced_probes, hal_health)
|
||||||
hal_client_domain(traced_probes, hal_power_stats)
|
hal_client_domain(traced_probes, hal_power_stats)
|
||||||
|
|
Loading…
Reference in a new issue