Merge "Added shell permisisons for memreclaim tracing"
This commit is contained in:
commit
a3a193ffd9
1 changed files with 8 additions and 0 deletions
|
@ -16,6 +16,10 @@ on boot
|
|||
chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable
|
||||
chown root shell /sys/kernel/debug/tracing/events/power/clock_set_rate/enable
|
||||
chown root shell /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
|
||||
chown root shell /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/enable
|
||||
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/tracing_on
|
||||
|
||||
chmod 0664 /sys/kernel/debug/tracing/trace_clock
|
||||
|
@ -28,6 +32,10 @@ on boot
|
|||
chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_idle/enable
|
||||
chmod 0664 /sys/kernel/debug/tracing/events/power/clock_set_rate/enable
|
||||
chmod 0664 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable
|
||||
chmod 0664 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/enable
|
||||
chmod 0664 /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_end/enable
|
||||
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
|
||||
|
||||
# Allow only the shell group to read and truncate the kernel trace.
|
||||
|
|
Loading…
Reference in a new issue