diff --git a/rootdir/init.trace.rc b/rootdir/init.trace.rc index 6e9ac6dcd..cde9c37a9 100644 --- a/rootdir/init.trace.rc +++ b/rootdir/init.trace.rc @@ -20,6 +20,12 @@ on boot chown root shell /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_end/enable chown root shell /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable chown root shell /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable + chown root shell /sys/kernel/debug/tracing/events/binder/binder_transaction/enable + chown root shell /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable + chown root shell /sys/kernel/debug/tracing/events/binder/binder_lock/enable + chown root shell /sys/kernel/debug/tracing/events/binder/binder_locked/enable + chown root shell /sys/kernel/debug/tracing/events/binder/binder_unlock/enable + chown root shell /sys/kernel/debug/tracing/tracing_on chmod 0664 /sys/kernel/debug/tracing/trace_clock @@ -37,6 +43,11 @@ on boot chmod 0664 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable chmod 0664 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable chmod 0664 /sys/kernel/debug/tracing/tracing_on + chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable + chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable + chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_lock/enable + chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_locked/enable + chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable # Allow only the shell group to read and truncate the kernel trace. chown root shell /sys/kernel/debug/tracing/trace