On 2019/8/23 0:14, Peter Zijlstra wrote: > On Thu, Aug 22, 2019 at 07:58:37PM +0800, c00423981 wrote: > >> V1->V2 >> - 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.