Commit 3d3c7029 authored by aumgn's avatar aumgn
Browse files

Fix exp/run in case kernel.sched_schedstats does not exist

parent f3775a5c
......@@ -95,7 +95,7 @@ prepare_system() {
msg "# Preparing system"
sudo sysctl kernel.numa_balancing=0 >/dev/null
sudo sysctl kernel.sched_schedstats=1 >/dev/null
sudo sysctl kernel.sched_schedstats=1 || true >/dev/null
}
dump_system() {
......@@ -260,7 +260,7 @@ move_results() {
}
cleanup_system() {
sudo sysctl kernel.sched_schedstats=0 >/dev/null
sudo sysctl kernel.sched_schedstats=0 || true >/dev/null
}
script=$0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment