Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbc4f848 authored by Oleh Kuznetsov's avatar Oleh Kuznetsov
Browse files

Move atrace.rc chmod for power/gpu_frequency and power/gpu_work_period to boot_completed

Test: atest CtsGpuProfilingDataTest -c
Bug: 410782647
Flag: EXEMPT bugfix

Change-Id: I287fe9a1cd93a58d0cf03cd00cad7b48709fd6cb
parent ffedff3e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -436,7 +436,7 @@ on late-init && property:ro.boot.hypervisor.vm.supported=1
    chmod 0440 /sys/kernel/tracing/hyp/events/hyp/host_mem_abort/id
    chmod 0440 /sys/kernel/tracing/hyp/events/hyp/host_mem_abort/id


# Ensure correct permissions on GPU related events
# Ensure correct permissions on GPU related events
on late-fs
on property:sys.boot_completed=1
    chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_frequency/enable
    chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_frequency/enable
    chmod 0666 /sys/kernel/tracing/events/power/gpu_frequency/enable
    chmod 0666 /sys/kernel/tracing/events/power/gpu_frequency/enable
    chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_work_period/enable
    chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_work_period/enable