atrace: Make sched_process_free event dir world searchable
This is needed for system_server to attach cpu timeinstate
bpf programs to the trace event.
Bug: 208892266
Test: libtimeinstate_test
Change-Id: Ie3850e4ed360cd760230e3dcedb4d24770c6121f
diff --git a/cmds/atrace/atrace.rc b/cmds/atrace/atrace.rc
index 97ccda4..8da1352 100644
--- a/cmds/atrace/atrace.rc
+++ b/cmds/atrace/atrace.rc
@@ -105,6 +105,7 @@
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_pi_setprio
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_process_exit
+ chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_process_free
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_switch
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_wakeup
chmod 0755 /sys/kernel/debug/tracing/events/sched/sched_wakeup_new
@@ -244,6 +245,7 @@
chmod 0755 /sys/kernel/tracing/events/sched/sched_cpu_hotplug
chmod 0755 /sys/kernel/tracing/events/sched/sched_pi_setprio
chmod 0755 /sys/kernel/tracing/events/sched/sched_process_exit
+ chmod 0755 /sys/kernel/tracing/events/sched/sched_process_free
chmod 0755 /sys/kernel/tracing/events/sched/sched_switch
chmod 0755 /sys/kernel/tracing/events/sched/sched_wakeup
chmod 0755 /sys/kernel/tracing/events/sched/sched_wakeup_new