Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14186743pxu; Mon, 4 Jan 2021 15:35:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJvI2S2roOKdm+kQnnoGwrNE6RVpLPnZ2DD61M9a/1FW0tB+bbT16e6YLEG++c+i3672t0 X-Received: by 2002:a17:907:20cc:: with SMTP id qq12mr71677318ejb.316.1609803305937; Mon, 04 Jan 2021 15:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609803305; cv=none; d=google.com; s=arc-20160816; b=c5zdInDpT1ayXguALexyMwP2Xism/NsJ1ZSrEef+39jfyKjhh3hQDN178XMcJIVuKp Is75ytlMIVDRdZpKmJqymsdDIpzruUl3iGkLqI8VQ/a08F5OXmjUftqfY6Gvmc/zHqmk HFh2zdtzFhouABbUpphckdyyK38OKn97OX6LCcKLj5qZoE5nvEPaITUBGkwapHQXfrhI uYczJTRTdWWyyCCGxhiP6PXI7rdEGRCYfWYqvTKSCIUXfW+speNinXuXgrbOenY3AvHr SyEBCMb6Y3ksgRqBDl092I9XgFiUPEb4fNO63qY3EG9z3p1LOiGF9hBJClm5PPcc10UT FDjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=pP3+G4ybPLsu21sUvB7IcM2g/XFhBwo1FBDDSyOqWVk=; b=L3c43Yx3vSQg9Ydvlrogh0i1Pnmtu0AArlRtPKZSUca1J02tWEPcUzql+3ulUCn/tc vB41EQRUR+Qdx9aVFZR9G2W7/ykzCNFkXEwSeemwAq1ct42YMB87wh0SHfolztKWmH63 jmztIycsZCuyBVeNfI2wKQHVXLXyev7CRHAPa9B5dkSRGCPk9fqUfDARNQXx1RaNkyqV DOBJMlcK0id8gzWlbmlmoIaQf5//75s9X71grtl/3S2fLiF9N1+V2AqiNiDljpUg7lMI aDc27iofqTR3V8iGDPkuO4aa0HFBxSxMUB1VBgfCyx0C9Nf8y8TyVUvgPeCKY19RRjXo qFRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gkiMwOx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc2si30036848ejb.569.2021.01.04.15.34.42; Mon, 04 Jan 2021 15:35:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gkiMwOx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727496AbhADXdU (ORCPT + 99 others); Mon, 4 Jan 2021 18:33:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727199AbhADXdT (ORCPT ); Mon, 4 Jan 2021 18:33:19 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B84EC061574; Mon, 4 Jan 2021 15:32:39 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id u19so29190614edx.2; Mon, 04 Jan 2021 15:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=pP3+G4ybPLsu21sUvB7IcM2g/XFhBwo1FBDDSyOqWVk=; b=gkiMwOx7WmqzAkBH7BIFxMD2baoJZ0d6UWXubGjQMvO13HoKMiR9S8qkuPORZhHVRS bjMLzwqSIQeR3iiiLexlszXwVdE2RwF6BfsQPYhXKrqRz7D7B4nt0cEL4c46C4Ezg+hy 0z13kzHLxUdR5opz9eUbtZjaPn8gp0QbJRLy+Pivd/85DWoIyLqu9YGCrvtGU93QCXLg WNfnPsw9+EnI93hbe1urVHTFfPbhrmtwKEGXCvYDJRqaMXOJ+v63B/lzQqW6LXYf9Mk+ FJ4eE1h7yG80EO4VKEbknIx7T7FDlvGQgsAZCeN6BVuc7E58ZNvFV1Qg2bJO8IcrbnF4 IS6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=pP3+G4ybPLsu21sUvB7IcM2g/XFhBwo1FBDDSyOqWVk=; b=Mjk8mQA9CiTKISYbCdvtCGBNWm0409rkkzgR2WDHkD1s7qlkUxHufooFYm/I4Aij4M jhwI7gRy/72la2vjcvUqUuHaFwvaxchKWXUdq2Wn/GC0FStzTaG5oirZvkq01jz7eAIR ZmewAo6ikO/6YyujmXKMBFjAZgad+5N2xlpHWosryYJg4aBIBiIFoWjjsRCMLvjW9tXi M1wIi3l0W/5CtBQpGgJytKJPAvmTQ/yoKEKBv0sp5+o06YREPkiDa0F1fk8VUl2HX+ej TfxFzZYiRcVBwUajvHSnhRcd3p0lc4749IL+ZeqjK+JfINbsVCScXt6e+M/brDUADN80 5wHQ== X-Gm-Message-State: AOAM532FEliDCBP53W5/1OJbnznZkOV4XTtcXJT8W6/TmjxVdk1tqgEh UdZCDVXU+ey4Qr1Cly9620mmK+fZKMjI/w== X-Received: by 2002:aa7:d1c2:: with SMTP id g2mr73854418edp.8.1609792770463; Mon, 04 Jan 2021 12:39:30 -0800 (PST) Received: from ubuntu-laptop (ip5f5bfcff.dynamic.kabel-deutschland.de. [95.91.252.255]) by smtp.googlemail.com with ESMTPSA id o13sm43801344edr.94.2021.01.04.12.39.29 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jan 2021 12:39:29 -0800 (PST) Message-ID: <2335e241133fe128bd3c3d70da5360b8326bb76e.camel@gmail.com> Subject: Re: [PATCH v3 0/6] Several changes for the UPIU trace From: Bean Huo To: Avri Altman , "alim.akhtar@samsung.com" , "asutoshd@codeaurora.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "beanhuo@micron.com" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , "cang@codeaurora.org" , "rostedt@goodmis.org" , "joe@perches.com" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Mon, 04 Jan 2021 21:39:28 +0100 In-Reply-To: References: <20201214202014.13835-1-huobean@gmail.com> <01a4472065034527d57b0866750eb4ecc79b6a83.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-12-15 at 23:18 +0100, Bean Huo wrote: > On Mon, 2020-12-14 at 23:37 +0100, Bean Huo wrote: > > > And another log generated sometime during 2021 after your change > > > is > > > merged: > > > "send" > > > "complete" < ****response upiu ****> > > > > > > The current parser won't be able to differentiate between those > > > logs. > > > Just change the prefix strings to be "send_req" and > > > "complete_rsp", > > > or something, > > > so the parsing tools that support the new format will be able to > > > differentiate it from the old one. > > > > Avri, > > I still don't understand, this change doesn't break you current > > parser. > > if you still trace "send", "complete", "CDB", "query_send/complte", > > they are still there, doesn't change. I suggest you just run on > > your > > system. see if there is conflict. > > > > Regarding your suggestion: > > This is not problem now, we just change this definition. > > > > do you mean just "send" and "complete" or all? > > > > #define > > UFS_CMD_TRACE_STRINGS > > \ > > > > EM(UFS_CMD_SEND, "send_req") > > \ > > > > EM(UFS_CMD_COMP, "complete_rsp") > > \ > > > > below also need add "req" and "rsp"? > > > > > > EM(UFS_DEV_COMP, "dev_complete_rsp") > > \ > > > > EM(UFS_QUERY_SEND, "query_send") > > \ > > > > EM(UFS_QUERY_COMP, "query_complete") > > \ > > > > EM(UFS_QUERY_ERR, "query_complete_err") > > \ > > > > EM(UFS_TM_SEND, "tm_send") > > \ > > > > EM(UFS_TM_COMP, "tm_complete") > > \ > > > > EM(UFS_TM_ERR, "tm_complete_err") > > > Hi Avri > > I am waiting for your answer. How can I change these strings to back- > compatible with your tool? Tt seems only you use these strings. > > Thanks, > Bean > Hi Avri Before sending next version, double confirm with your. I think you just need change: "send" to "send_req" "complete" to "complete_rsp" Bean