[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJvTdKmQUomRnZnPD3O0-Wq0Tp+9PKewBEqQnn4OUg=0Fpzh5w@mail.gmail.com>
Date: Fri, 12 Oct 2018 19:03:41 -0400
From: Len Brown <lenb@...nel.org>
To: solio.sarabia@...el.com
Cc: linux-kernel@...r.kernel.org,
Linux PM list <linux-pm@...r.kernel.org>,
"Brown, Len" <len.brown@...el.com>, shiny.sebastian@...el.com
Subject: Re: turbostat-17.06.23 floating point exception
> Why would the cpu topology report 0 cpus? I added a debug entry to
> cpu_usage_stat and /proc/stat showed it as an extra column. Then
> fscanf parsing in for_all_cpus() failed, causing the SIGFPE.
>
> This is not an issue. Thanks.
Yes, it is true that turbostat doesn't check for systems with 0 cpus.
I'm curious how you provoked the kernel to claim that. If it is
something others might do, we can have check for it and gracefully
exit.
thanks,
-Len
--
Len Brown, Intel Open Source Technology Center
Powered by blists - more mailing lists