Snap for 11847214 from ff3b853a7e
to 24Q3-release
Change-Id: Icb4ded5a6a61c716be22d9eb2c1b1b56dbf1b63d
This commit is contained in:
commit
b5e0efd733
6 changed files with 22 additions and 1 deletions
|
@ -12,7 +12,19 @@ binder_call(hal_audio_default, edgetpu_app_server)
|
||||||
|
|
||||||
# Allow audio HAL to read tflite Darwinn delegate properties
|
# Allow audio HAL to read tflite Darwinn delegate properties
|
||||||
get_prop(hal_audio_default, vendor_tflite_delegate_prop)
|
get_prop(hal_audio_default, vendor_tflite_delegate_prop)
|
||||||
|
|
||||||
|
# Allow audio HAL to read DarwiNN runtime properties
|
||||||
get_prop(hal_audio_default, vendor_edgetpu_runtime_prop)
|
get_prop(hal_audio_default, vendor_edgetpu_runtime_prop)
|
||||||
|
|
||||||
|
# Allow audio HAL to read hetero runtime properties
|
||||||
|
get_prop(hal_audio_default, vendor_hetero_runtime_prop)
|
||||||
|
|
||||||
# Allow DMA Buf access.
|
# Allow DMA Buf access.
|
||||||
allow hal_audio_default dmabuf_system_heap_device:chr_file r_file_perms;
|
allow hal_audio_default dmabuf_system_heap_device:chr_file r_file_perms;
|
||||||
|
|
||||||
|
# Allow audio HAL to connect to the stats service for logging EdgeTpu metrics.
|
||||||
|
allow hal_audio_default fwk_stats_service:service_manager find;
|
||||||
|
|
||||||
|
# Allow audio HAL to send EdgeTpu trace packets to Perfetto.
|
||||||
|
# Enable for prod devices, see: go/darwinn-perfetto-critical-events
|
||||||
|
perfetto_producer(hal_audio_default)
|
||||||
|
|
|
@ -18,5 +18,8 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
dumpFileContent("VENDOR PROC DUMP", "/proc/vendor_sched/dump_task");
|
dumpFileContent("VENDOR PROC DUMP", "/proc/vendor_sched/dump_task");
|
||||||
|
dumpFileContent("BTS scenario", "/sys/kernel/debug/bts/scenario");
|
||||||
|
dumpFileContent("BTS vc", "/sys/kernel/debug/bts/vc");
|
||||||
|
dumpFileContent("BTS status", "/sys/kernel/debug/bts/status");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
pixel_bugreport(dump_perf)
|
pixel_bugreport(dump_perf)
|
||||||
|
|
||||||
allow dump_perf proc_vendor_sched:file r_file_perms;
|
allow dump_perf proc_vendor_sched:file r_file_perms;
|
||||||
|
userdebug_or_eng(`
|
||||||
|
allow dump_perf vendor_bts_debugfs:dir r_dir_perms;
|
||||||
|
allow dump_perf vendor_bts_debugfs:file r_file_perms;
|
||||||
|
')
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
type sysfs_pakills, fs_type, sysfs_type;
|
type sysfs_pakills, fs_type, sysfs_type;
|
||||||
|
type vendor_bts_debugfs, fs_type, debugfs_type;
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
genfscon proc /sys/kernel/sched_pelt_multiplier u:object_r:proc_sched:s0
|
genfscon proc /sys/kernel/sched_pelt_multiplier u:object_r:proc_sched:s0
|
||||||
genfscon sysfs /kernel/vendor_mm/pa_kill u:object_r:sysfs_pakills:s0
|
genfscon sysfs /kernel/vendor_mm/pa_kill u:object_r:sysfs_pakills:s0
|
||||||
|
genfscon debugfs /bts u:object_r:vendor_bts_debugfs:s0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue