[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220217235504.GB20620@X58A-UD3R>
Date: Fri, 18 Feb 2022 08:55:04 +0900
From: Byungchul Park <byungchul.park@....com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>,
linux-ide@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Will Deacon <will@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Joel Fernandes <joel@...lfernandes.org>,
Sasha Levin <sashal@...nel.org>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Chris Wilson <chris@...is-wilson.co.uk>, duyuyang@...il.com,
johannes.berg@...el.com, Tejun Heo <tj@...nel.org>,
Theodore Ts'o <tytso@....edu>,
Matthew Wilcox <willy@...radead.org>,
Dave Chinner <david@...morbit.com>,
Amir Goldstein <amir73il@...il.com>,
"J. Bruce Fields" <bfields@...ldses.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
kernel-team@....com, Linux-MM <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Michal Hocko <mhocko@...nel.org>,
Minchan Kim <minchan@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
Vladimir Davydov <vdavydov.dev@...il.com>, sj@...nel.org,
Jerome Glisse <jglisse@...hat.com>,
Dennis Zhou <dennis@...nel.org>,
Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>, ngupta@...are.org,
linux-block <linux-block@...r.kernel.org>,
Jens Axboe <axboe@...nel.dk>, paolo.valente@...aro.org,
Josef Bacik <josef@...icpanda.com>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>,
Jeff Layton <jlayton@...nel.org>,
Dan Williams <dan.j.williams@...el.com>,
Christoph Hellwig <hch@...radead.org>,
"Darrick J. Wong" <djwong@...nel.org>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Dave Airlie <airlied@...ux.ie>, rodrigosiqueiramelo@...il.com,
melissa.srw@...il.com, hamohammed.sa@...il.com
Subject: Re: Report in ata_scsi_port_error_handler()
On Wed, Feb 16, 2022 at 01:33:18PM -0500, Steven Rostedt wrote:
> On Wed, 16 Feb 2022 10:09:14 -0800
> Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>
> > Byungchul, could you fix those two issues? Some of your reports may
> > well be entirely valid, but the hard-to-read hex offsets and the
> > knowledge that at least some of them are confused about how
> > prepare_to_wait -> wait actually works makes the motivation to look at
> > the details much less..
>
> Hi Byungchul,
>
> I'm not sure what your tool is using to attach to the kernel to analyze the
> events (perhaps tracepoints?). But you can have the prepare_to_wait event
> just flag the task is about to wait, and then attach to the schedule
> (sched_switch) event to denote that it actually waited.
>
> Of course have the finish_wait() clear the flag.
(Sorry for late reply, which was because of my email client issue.)
Thank you for the hint. However, unfortunately, I didn't use tracepoint
for that. However, the key idea is the thing that I should take!
Thanks a lot!
Thanks,
Byungchul
>
> -- Steve
Powered by blists - more mailing lists