[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220216133318.204f36ac@gandalf.local.home>
Date: Wed, 16 Feb 2022 13:33:18 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Damien Le Moal <damien.lemoal@...nsource.wdc.com>,
Byungchul Park <byungchul.park@....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, 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.
-- Steve
Powered by blists - more mailing lists