not all CPUs know ondemand

This commit is contained in:
van Hauser
2019-11-15 14:46:01 +01:00
parent d8264390d2
commit 4b3deaf28b
2 changed files with 21 additions and 5 deletions

View File

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