[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <01eb3c55e35738f2853fbc7175a12eaa@codeaurora.org>
Date: Tue, 29 Oct 2019 10:37:45 +0800
From: cang@...eaurora.org
To: Avri Altman <Avri.Altman@....com>
Cc: "Winkler, Tomas" <tomas.winkler@...el.com>,
asutoshd@...eaurora.org, nguyenb@...eaurora.org,
rnayak@...eaurora.org, linux-scsi@...r.kernel.org,
kernel-team@...roid.com, saravanak@...gle.com, salyzyn@...gle.com,
Alim Akhtar <alim.akhtar@...sung.com>,
Pedro Sousa <pedrom.sousa@...opsys.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Evan Green <evgreen@...omium.org>,
Janek Kotas <jank@...ence.com>,
Stanley Chu <stanley.chu@...iatek.com>,
Bean Huo <beanhuo@...ron.com>,
Subhash Jadavani <subhashj@...eaurora.org>,
Arnd Bergmann <arnd@...db.de>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 1/1] scsi: ufs: Add command logging infrastructure
On 2019-10-23 18:33, Avri Altman wrote:
>>
>> > Add the necessary infrastructure to keep timestamp history of
>> > commands, events and other useful info for debugging complex issues.
>> > This helps in diagnosing events leading upto failure.
>>
>> Why not use tracepoints, for that?
> Ack on Tomas's comment.
> Are there any pieces of information that you need not provided by the
> upiu tracer?
>
> Thanks,
> Avri
In extreme cases, when the UFS runs into bad state, system may crash.
There may not be a chance to collect trace. If trace is not collected
and failure is hard to be reproduced, some command logs prints would be
very helpful to help understand what was going on before we run into
failure.
Thanks,
Can Guo
Powered by blists - more mailing lists