Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1192313rdb; Tue, 30 Jan 2024 10:27:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGajN6TIqXEl98EExbqlp/zZ6jUHuaYke8OlTAIHoBhvUt/tl8ukMPoGlNWvtLTme+yoyZ X-Received: by 2002:a05:6a20:bb18:b0:19c:912f:1cfb with SMTP id fc24-20020a056a20bb1800b0019c912f1cfbmr4926633pzb.12.1706639229229; Tue, 30 Jan 2024 10:27:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706639229; cv=pass; d=google.com; s=arc-20160816; b=PHr8Dc3wjEC1oveNHbmPz4nTvq8pzXr7E+zF+foeboQCRme8zKWUB2UK+Pr60EElFZ KGpmvSg1yQlgHEsLMXpMbvPyv23JcGpAUhi1Yp38gcOOy9LO3uYCaodZn0WDs6hQiuCf 5nH7JZqVFdGTUguGjAN2DwnHTOV7kBKYsxJwGWc62fAlXFSGxFeziVwwjJIMd4mekDu7 wZtMtsfWmsBasMq1Mo7FNR7PtxhawU40XozqP29gELKn6JhxlahHsN1g+UGnWkUXs68H r2qsR3f8ozRXApGcTdDAHUWAYtcPE6Irr3JH5fM1a2D9862w1xan5bq3MqGu4NJr6reI ofvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mwtr/Q0W+DnFys6Qa4mhIaD4pUDrl0vuGcMaHWwQO2Q=; fh=9znFHht+cHs22jr5MjoqO+A6eX/MSMbvdDaMuVYhrEU=; b=zpMTJ6kfzQbY+kglc5q9s/MVY1u7piTFnih3eBLwOKAAf6mxcixNNkfsSRpwQbWPJq q310cB/vgNkhFiRLK9q50FeMEHS+KB0st+ziKxA1LddPPzSS/226U+F/jIqM4tZ3I1H4 eJOaYxUM+CxzPPjChBQVsKj35ayGUHeVP3TUb8qrBQGeljw/0YfTvB7DceSUoN/lPXqs /pWUb9vX86HpvjFVIaoU4vw85QHudzJ81PjKXISZJ27DV7Qe2X5CrYvX7PXFNpNMQmE9 psM2QUUwDF6VHfNjZyAp+g7ZTzblGhNvnIoQS8PyQl9ZbEVpbNreJRPavno/MPiqakkA mTXg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UGrcLcSM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 77-20020a630150000000b005cee61cfde6si7571291pgb.437.2024.01.30.10.27.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UGrcLcSM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E1BFD285A6E for ; Tue, 30 Jan 2024 18:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F228157E6C; Tue, 30 Jan 2024 18:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UGrcLcSM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46A43157050; Tue, 30 Jan 2024 18:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706639221; cv=none; b=M4/07twpU9b1F7FYvN7/oqVDVb5Yc73V8nDNAdS2WFVkISWrtoumUgaD1rIAOcxh+gOjeBAG/al5rEJHckAw1IsdhdffRFw18I3P5z7KLm259hF4oe7h/jNgcu8HVdNivTyPSE6viNBDWy0sDUnFoFt+RvTmRISF52dpMHPOM0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706639221; c=relaxed/simple; bh=HI3jiLjEm1LUR2gZFKB/wxXaBglKCk54jhHtHgjpbOw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oZ0dC24DWvrOuqlswLMlyVC4Ray9jFo7O441i8NqxLI9cn/L+Qc3TtlAbaKUw9i3HC9ILGe7SptASNeiWkIMhNlMOFBVRwqpb84SF2c53iYg/JP/ga+Ec4R57yciS7U9kiV7kipRLu40QgRKdGvqO3so6XKpuFJA+FrfDjqpcCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UGrcLcSM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0FB3C433F1; Tue, 30 Jan 2024 18:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706639221; bh=HI3jiLjEm1LUR2gZFKB/wxXaBglKCk54jhHtHgjpbOw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UGrcLcSMAIBayWpIhNoGoJjNUu7h7KiMyPIMmyerBloa7mxiqX84suGkDBW9TArvb s1XHCOqNhRpAp3RjVVHDZkTS878WYNQQ9QpbsemrnCUp4wxbNLL481rtGc7PxT4ear 2zt7RNWLLOCOBlflOKSb+T9IsgMJburRDV2f0WUkmj94lYw7cN5JCBp49VlIaG3VfD 6UJHFzk3LsjnvHBW3Xoc4ofWOXpMKfqFD0HYDcWcTty/y3S6JehmqsTS71Rcght9iN wKtkXvOlPcRaEGT+PxjBJr6DvTS/dS1w0Oqgdt0cA+EhFkRZkgQW/pjdsCTpisSEL0 Xw/RgrvrDYzbw== Date: Tue, 30 Jan 2024 23:56:54 +0530 From: Manivannan Sadhasivam To: Steven Rostedt Cc: Krishna chaitanya chundru , Masami Hiramatsu , linux-kernel@vger.kernel.org, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-trace-kernel@vger.kernel.org, quic_vbadigan@quicinc.com, quic_ramkri@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_parass@quicinc.com Subject: Re: [PATCH v9] bus: mhi: host: Add tracing support Message-ID: <20240130182654.GD4218@thinkpad> References: <20240105-ftrace_support-v9-1-a2dca64cc6ea@quicinc.com> <20240130081152.GH32821@thinkpad> <20240130092252.32801387@gandalf.local.home> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240130092252.32801387@gandalf.local.home> On Tue, Jan 30, 2024 at 09:22:52AM -0500, Steven Rostedt wrote: > On Tue, 30 Jan 2024 13:41:52 +0530 > Manivannan Sadhasivam wrote: > > > So same trace will get printed for both mhi_channel_command_start() and > > mhi_channel_command_end()? > > The trace output will also include the tracepoint name. That is, it will > have the same content but will be preceded with: > > mhi_channel_command_start: ... > mhi_channel_command_end: ... > Yes, but the message will be the same: mhi_channel_command_start: chan%d: Updating state to: mhi_channel_command_end: chan%d: Updating state to: Either only one of the trace should be present or the second one should print, "mhi_channel_command_end: chan%d: Updated state to:" - Mani -- மணிவண்ணன் சதாசிவம்