diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 2da2c5e..67cfb5a 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -93,6 +93,9 @@ # the console, otherwise we live lock the kernel. Then enable the sched # 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 all events from sched subsystem"