From mboxrd@z Thu Jan 1 00:00:00 1970 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 C69C93C6A6; Mon, 12 Feb 2024 18:08:07 +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=1707761287; cv=none; b=DHCyMA0Gc6VVqG3rIgKOg6VbvQ9z704a1xLBFfBYUX9LBVwZNVBh053/oNAKMZAWLcuVBEBgEoPhJKK1NoNGgHNMLRs32H/x2CSHcLxDQQTUyoyUk7iMySt/ckabF+GDEpiSna0iHtWFtrJOyqbleN4N65WfPRGu8vykH0f6cdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707761287; c=relaxed/simple; bh=qdqtg6TWGB8jo2x9G2cj2uu942FZJ3zVJy+wRCbux+Y=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tCfBNTnzB3FLoDPN8XEpPYfkdNpBbWywcV3OpowJ/fUde+441IThcYinSUXZmMFDJI+yi+qmsKfbI/dggYJaPt0X2BrVf3IgcQeF4mFi2Zme0kOx8Atuq7MTb8q+hj03eNILQdJwJNigVjAFoTKon1aDFw15uoZZYuZpLtiC1mQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF940C433F1; Mon, 12 Feb 2024 18:08:05 +0000 (UTC) Date: Mon, 12 Feb 2024 13:08:48 -0500 From: Steven Rostedt To: Manivannan Sadhasivam Cc: Krishna Chaitanya Chundru , Manivannan Sadhasivam , 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 v11] bus: mhi: host: Add tracing support Message-ID: <20240212130848.7415b87f@gandalf.local.home> In-Reply-To: <20240206093110.GC8333@thinkpad> References: <20240206-ftrace_support-v11-1-3f71dc187544@quicinc.com> <20240206062636.GA8333@thinkpad> <20240206090312.GB8333@thinkpad> <20240206093110.GC8333@thinkpad> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 6 Feb 2024 15:01:10 +0530 Manivannan Sadhasivam wrote: > > Bot will check sparse warnings/errors mostly. But these checkpatch issues can be > > fixed easily. If you don't do it now, then someone will send a patch for it > > later. > > > > Hmm, seems like we should ignore these checkpatch issues due to the way the > macros are used by trace headers. Ignore my above comment, patch looks fine. Yes please ignore checkpatch on any TRACE_EVENT() and related macros. It doesn't understand them, and reports errors and asks for fixes that break the default way of using TRACE_EVENT(). Someday I hope someone teaches checkpatch to know the TRACE_EVENT() default format which is: TRACE_EVENT(event, TP_PROTO(), TP_ARGS(), TP_STRUCT__entry( __field( , ) __array( , , ) ), TP_fast_assign( ), TP_printk("format", ) ); But checkpatch will error all over the above. :-( -- Steve