Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2610256rdb; Mon, 12 Feb 2024 10:08:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxManLuDq7uIK32dtkpbSlkFLGYokTvITpq273fPOuZRYRxquJVQDVXB8sOyj64otvFoqbKCsf8P7/dW+ivU1tPJtOMhaWBcN5bXD6Ag== X-Google-Smtp-Source: AGHT+IHrD6rxZ7husuOU5XrlvqiOQilQ92tBK3rEbNV0IFgMWHFgAFjlC6UPieQgd4kEXwTtOXjd X-Received: by 2002:a05:6a00:2285:b0:6e0:e83f:22b2 with SMTP id f5-20020a056a00228500b006e0e83f22b2mr322047pfe.6.1707761295202; Mon, 12 Feb 2024 10:08:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707761295; cv=pass; d=google.com; s=arc-20160816; b=eVhxE0MAHd6UoPyhcWeKNglVtBSuoKHEIf88wY+LQ7iJgHmIEFOIXXAQq/SwFL6GZ+ E/vpwZ8o3jfLBO9DNyAVvW4RRkpCIsVU8PKZK/gV/i6g3loo35mycVWVNwy8aRwdN6XE c+yslGhpsyZBjCuiqJCogtxhuBXLKqOL7Eaq5Dup+lztl8nIYbVIIONLUOIF7s1SOH2Z OhmfSkIBEMxmDw0LnELbiEmrX99cMqz5Ba05xrDR7kxsLH18aMJ1sOiztd7wRZ3lbqBW VkqkVS3bsUV/ix0FOQKnnnA0xS9nzt4V8s6J36SBfHW+rw6/hJ0bin0aJd2TXFCfxTeq c4kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=M3+PuNUla8c/V5YKPJ537O+yvbS2nqjPmR49/4oW+6Q=; fh=AMKp15AAnel/GYT4zRuO7NetAoR3dti71r0hiDgvNRQ=; b=Sd8iLjc17auB8wFge38WOu8IzNyEoaFi276+3lhf3+6RkIEgGdOU8iTcQBIfztxvAc km25JHVVvBNlZzlAyiu1HvVSdWgyASB5ax4Ueh1r9sfmfkOpf/7WEDjsSCsVNK/YYWJb jIVxL4m/qzR840gmJkrDbJ56nDlQTFBbe26nAOH2vPr9Ff8QRPbCDMbHjCTAQLnB8VTX aBkixFKtRpYOSxg4zMsNjmhcxHYu4Xy7dGbsy1OHHt4BO3jncxzuBi6VD5kcX0I4R9cH n/hKGdYnwFkRHnEz3N8DsJDUwwyyZL6bEotoNvo2Z4skMUGD0/dcLcJtg2fcNhqlbGGM Mxiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-62158-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62158-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUTFT50Bgn+USr2fMgHeYUQKDtv0xMoz8v9YZt1DkcDzwvnfkoqLH5olGrrphFbGdN3tdT2rz/gmhJ4oxowTgKQmXxX1T/b+zS+6iFDWQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f19-20020a637553000000b005dbde0102b0si551813pgn.288.2024.02.12.10.08.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 10:08:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62158-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-62158-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62158-linux.lists.archive=gmail.com@vger.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 D620D282E2A for ; Mon, 12 Feb 2024 18:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59B9B3FB15; Mon, 12 Feb 2024 18:08:08 +0000 (UTC) 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-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