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

Commit d092e329 authored by Primiano Tucci's avatar Primiano Tucci Committed by android-build-merger
Browse files

Merge "Enable to access the set_event interface on userdebug"

am: 54636483

Change-Id: I8aba47d5a73bd721bd4e4f8397369bac78c71d5a
parents 06608479 54636483
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5,6 +5,12 @@
# Access control to these files is now entirely in selinux policy.

on post-fs
    # On userdebug allow to enable any event via the generic
    # set_event interface:
    # echo sched/foo > set_event == echo 1 > events/sched/foo/enable.
    chmod 0666 /sys/kernel/tracing/set_event
    chmod 0666 /sys/kernel/debug/tracing/set_event

    chmod 0666 /sys/kernel/tracing/events/workqueue/enable
    chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable
    chmod 0666 /sys/kernel/tracing/events/regulator/enable