stalld: Skip get_cpu_idle_time() warning for offline cpus

Statistics for offline cpus do not appear in /proc/stat. For systems with several offline cpus we end up spamming warn messages when attempting to get the idle time from said file. Use -ENODEV to indicate the cpu might be offline and skip the warn().

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

Merge request reports

Loading