From: c00423981 <caomeng5@huawei.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: <tglx@linutronix.de>, <mingo@redhat.com>, <hpa@zytor.com>,
<x86@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V2] cpustat: print watchdog time and statistics of soft and hard interrupts in soft lockup scenes
Date: Fri, 23 Aug 2019 15:26:45 +0800 [thread overview]
Message-ID: <c169f207-2f88-c457-2f08-f5da546db113@huawei.com> (raw)
In-Reply-To: <20190822161412.GV2369@hirez.programming.kicks-ass.net>
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.
prev parent reply other threads:[~2019-08-23 7:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 7:12 [PATCH] " c00423981
2019-08-20 11:04 ` Peter Zijlstra
2019-08-21 8:26 ` c00423981
2019-08-21 10:46 ` Peter Zijlstra
2019-08-22 11:58 ` [PATCH V2] " c00423981
2019-08-22 16:14 ` Peter Zijlstra
2019-08-23 7:26 ` c00423981 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c169f207-2f88-c457-2f08-f5da546db113@huawei.com \
--to=caomeng5@huawei.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®