1*e4a36f41SAndroid Build Coastguard Workertype hal_atrace_default, domain; 2*e4a36f41SAndroid Build Coastguard Workerhal_server_domain(hal_atrace_default, hal_atrace) 3*e4a36f41SAndroid Build Coastguard Worker 4*e4a36f41SAndroid Build Coastguard Workertype hal_atrace_default_exec, exec_type, vendor_file_type, file_type; 5*e4a36f41SAndroid Build Coastguard Workerinit_daemon_domain(hal_atrace_default) 6*e4a36f41SAndroid Build Coastguard Worker 7*e4a36f41SAndroid Build Coastguard Worker# Allow atrace HAL to access tracefs. 8*e4a36f41SAndroid Build Coastguard Workerallow hal_atrace_default debugfs_tracing:dir r_dir_perms; 9*e4a36f41SAndroid Build Coastguard Workerallow hal_atrace_default debugfs_tracing:file rw_file_perms; 10*e4a36f41SAndroid Build Coastguard Worker 11*e4a36f41SAndroid Build Coastguard Workeruserdebug_or_eng(` 12*e4a36f41SAndroid Build Coastguard Worker allow hal_atrace_default debugfs_tracing_debug:dir r_dir_perms; 13*e4a36f41SAndroid Build Coastguard Worker allow hal_atrace_default debugfs_tracing_debug:file rw_file_perms; 14*e4a36f41SAndroid Build Coastguard Worker') 15