not all CPUs understand ondemand

This commit is contained in:
van Hauser
2019-11-17 10:51:15 +01:00
parent 4b3deaf28b
commit 55ef73ed57

View File

@ -1562,10 +1562,11 @@ void check_cpu_governor(void) {
" echo performance | tee cpu*/cpufreq/scaling_governor\n\n" " echo performance | tee cpu*/cpufreq/scaling_governor\n\n"
" You can later go back to the original state by replacing " " You can later go back to the original state by replacing "
"'performance'\n" "'performance' with\n"
" with 'ondemand' or 'powersave'. If you don't want to change the settings,\n" " 'ondemand'. If you don't want to change the settings, set "
" set AFL_SKIP_CPUFREQ to make afl-fuzz skip this check - but expect some\n" "AFL_SKIP_CPUFREQ\n"
" performance drop.\n", " to make afl-fuzz skip this check - but expect some performance "
"drop.\n",
min / 1024, max / 1024); min / 1024, max / 1024);
FATAL("Suboptimal CPU scaling governor"); FATAL("Suboptimal CPU scaling governor");