stalld: Treat offline cpus as idle

Statistics for offline cpus do not appear in /proc/stat. For systems with several offline cpus we end up spamming error messages when attempting to get the idle time from said file.

An offline cpu is an idle one, so short circuit any attempts to validate this fact via /proc/stat.

Signed-off-by: Fernando Pacheco fpacheco@redhat.com

Merge request reports

Loading