Disable ftrace for now as it hangs the boot
This commit is contained in:
parent
7e6fdff142
commit
b903eae7e5
@ -93,19 +93,21 @@
|
||||
''
|
||||
echo 0 > /proc/sys/vm/compaction_proactiveness
|
||||
''
|
||||
+
|
||||
# Exclude the second pid, which is the kthread that will dump the trace to
|
||||
# the console, otherwise we live lock the kernel. Then enable the
|
||||
# sched_switch events.
|
||||
''
|
||||
echo "Mount debugfs"
|
||||
mkdir -p /sys/kernel/debug/
|
||||
mount -t debugfs none /sys/kernel/debug/
|
||||
echo "Exclude pid 2 from sched"
|
||||
echo '(prev_pid != 2 && next_pid != 2)' > /sys/kernel/debug/tracing/events/sched/filter
|
||||
echo "Enable sched_switch events"
|
||||
echo 1 > /sys/kernel/debug/tracing/events/sched/sched_switch/enable
|
||||
'';
|
||||
# FIXME: Disable sched_switch for now, as it still hangs the boot...
|
||||
# +
|
||||
# # Exclude the second pid, which is the kthread that will dump the trace to
|
||||
# # the console, otherwise we live lock the kernel. Then enable the
|
||||
# # sched_switch events.
|
||||
# ''
|
||||
# echo "Mount debugfs"
|
||||
# mkdir -p /sys/kernel/debug/
|
||||
# mount -t debugfs none /sys/kernel/debug/
|
||||
# echo "Exclude pid 2 from sched"
|
||||
# echo '(prev_pid != 2 && next_pid != 2)' > /sys/kernel/debug/tracing/events/sched/filter
|
||||
# echo "Enable sched_switch events"
|
||||
# echo 1 > /sys/kernel/debug/tracing/events/sched/sched_switch/enable
|
||||
# ''
|
||||
;
|
||||
};
|
||||
|
||||
loader = {
|
||||
|
Loading…
Reference in New Issue
Block a user