Added file permissions for binder tracing
This commit is contained in:
parent
a3a193ffd9
commit
cd1d99e268
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue