platform_hardware_interfaces/atrace/1.0/default/android.hardware.atrace@1.0-service.rc
Wei Wang db895ad8da Add atrace HAL 1.0
Bug: 111098596
Test: vts, atrace and systrace
Change-Id: If59efe6fe74e9ca832f38fe0cfe0186db5ca7fe3
2018-09-25 21:22:14 -07:00

13 lines
552 B
Text

on late-init
# vendor graphics trace points
chmod 0666 /sys/kernel/debug/tracing/events/sde/enable
chmod 0666 /sys/kernel/debug/tracing/events/mdss/enable
chmod 0666 /sys/kernel/debug/tracing/events/mali_systrace/enable
# ion allocation trace point
chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_alloc_buffer_start/enable
service vendor.atrace-hal-1-0 /vendor/bin/hw/android.hardware.atrace@1.0-service
interface android.hardware.atrace@1.0::IAtraceDevice default
class early_hal
user system
group system