Re: [PATCH V2] cpustat: print watchdog time and statistics of soft and hard interrupts in soft lockup scenes
Date: Fri Aug 23 2019 - 03:26:55 EST
On 2019/8/23 0:14, Peter Zijlstra wrote:
> On Thu, Aug 22, 2019 at 07:58:37PM +0800, c00423981 wrote:
>> - fix the broken interfaces: get_idle_time and get_iowait_time
>> + else if (index == CPUTIME_IOWAIT)
>> + time = get_iowait_time(kcs, cpu);
> I'm confused; isn't that still reporting per-cpu iowait, which is still
> complete garbage?
Yes, I understand that these two interfaces(nr_iowait_cpu and nr_iowait) will
use nonsensical data. Thanks for your answer very much.
By the way, are there an alternative about these two interfaces?
Looking forward to your reply.