Merge "Allow traced_probes to access power rail data." am: 98de091a4f

am: 9ca6038a10

Change-Id: Ie1390fee73de21b7f356a1c70fce987b28ba9115
This commit is contained in:
Ben Murdoch 2019-03-13 13:05:42 -07:00 committed by android-build-merger
commit dea6e19a4e

View file

@ -66,8 +66,9 @@ allow traced_probes {
proc_stat
}:file r_file_perms;
# Allow access to the IHealth 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_power_stats)
# On debug builds allow to ingest system logs into the trace.
userdebug_or_eng(`read_logd(traced_probes)')