[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9d54e732-75e6-6912-750b-2c4238d618bb@quicinc.com>
Date: Fri, 10 Mar 2023 12:19:59 +0800
From: Ziqi Chen <quic_ziqichen@...cinc.com>
To: Bart Van Assche <bvanassche@....org>, <quic_asutoshd@...cinc.com>,
<quic_cang@...cinc.com>, <mani@...nel.org>,
<stanley.chu@...iatek.com>, <adrian.hunter@...el.com>,
<beanhuo@...ron.com>, <avri.altman@....com>,
<junwoo80.lee@...sung.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:TRACING" <linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH v4] scsi: ufs: core: Add trace event for MCQ
On 3/9/2023 11:45 PM, Bart Van Assche wrote:
> On 3/8/23 18:44, Ziqi Chen wrote:
>> Thanks for you suggestion. But the member hwq->id is an Unsigned
>> integer. if you want to identify SDB mode and MCQ mode, using "0" is
>> enough, Or how about add string such as below?
>>
>> ufshcd_command: MCQ: complete_rsp: 1d84000.ufshc: tag: 14, DB: 0x0,
>> size: 32768, IS: 0, LBA: 5979448,opcode: 0x2a (WRITE_10),group_id:
>> 0x0, hqid: 2
>
> Hi Ziqi,
>
> Since 0 is a valid queue ID using 0 to identify the legacy command
> submission mechanism is ambiguous.
>
> Thanks,
>
> Bart.
OK, let me convert hwq id to int from ftrace side.
Best Regards,
Ziqi
Powered by blists - more mailing lists