Mount debugfs first
This commit is contained in:
parent
934b67ac0b
commit
bc05dc2676
@ -93,6 +93,9 @@
|
|||||||
# the console, otherwise we live lock the kernel. Then enable the sched
|
# the console, otherwise we live lock the kernel. Then enable the sched
|
||||||
# events.
|
# events.
|
||||||
''
|
''
|
||||||
|
echo "Mount debugfs"
|
||||||
|
mkdir -p /sys/kernel/debug/
|
||||||
|
mount -t debugfs none /sys/kernel/debug/
|
||||||
echo "Exclude pid 2 from sched"
|
echo "Exclude pid 2 from sched"
|
||||||
echo '(prev_pid != 2 && next_pid != 2)' > /sys/kernel/debug/tracing/events/sched/filter
|
echo '(prev_pid != 2 && next_pid != 2)' > /sys/kernel/debug/tracing/events/sched/filter
|
||||||
echo "Enable all events from sched subsystem"
|
echo "Enable all events from sched subsystem"
|
||||||
|
Loading…
Reference in New Issue
Block a user