Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2096610rdb; Thu, 17 Aug 2023 10:34:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4zF1F20EyHZ6Vt9p+X16B/W0gX4D3/2hHXF9hz25BuRawIfxp1mkmn/U4Sq1UDwOb+Ipg X-Received: by 2002:a17:902:c407:b0:1bd:f69e:a407 with SMTP id k7-20020a170902c40700b001bdf69ea407mr4132597plk.8.1692293691313; Thu, 17 Aug 2023 10:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692293691; cv=none; d=google.com; s=arc-20160816; b=zjP0K3NtcjoqguaoqQigiZzUFCcs7IOCSkfEPoNh/Xb766v8e0LldnkMnyujc/TUqu 84Gtj+f7uoEfTnOb9YZ7PX/ObuXB5siHn0jtekcsaBf6S+AV5Lf1l+xbhMxn1OM9hBoo LJDWRsgS8XnuVpbuh1Sg+aO8oHtdcQnH95ilJDePjkQytR0StiFZpR+MSpzxutTltzy6 bc3xI4lwrKc6ScTRKsn9sKaWxbtHLPhjp+XYTcgBcE7X60or1C2mjcGzrbVFswfxMSgf CB8EXMYYMuepqa1/8VanKiN7wWok9xWUfHULsQqyNJUDe5N2ZKMTZcNimOuTWohqQRlm xfLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:feedback-id:dkim-signature:dkim-signature; bh=zlzqembgfhE0WkCCU6cyrn0gHCOoJpWxWoaDKK5MxFk=; fh=7icgbRAsGsbmtXXeLZXjR9QQ73HEs4IMJHNbfmXR6PQ=; b=Z7PySGfVdjCoAtOJOjdMbJpTzAPrRM7ZUAm3I8eTV2j7pkyaxQjAR9WANDOvZpig1F NxXyjdoKKHfCxHGKjyKEJkzca6x4yANMYaBCjSKjaGUmxhCYehmnzfykBRXGA6YWnVhs p5+PbLevA76/PcLrba2kYq8JB0XLjexQeYq6VKYIEiyIlxYuE9+2Ljt8QSmHznmQY3f6 dTFcgHbqalEF575zxeuy0fErEk7g/Hgvz1uR1W0WeRLTzPj3rjHhmeBQ8++w3MrSywvp r1GfhAlTIEKcQgpfrd+WUdAfHZpAWVF4LkqwOnoL4Wbyt68p8Kf4tUv8ANDroZFZOsAQ q4oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@manjusaka.me header.s=fm3 header.b=QLKUstjd; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm1 header.b=tGoRKzMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a170902f38300b001bb3406a5f7si48967ple.11.2023.08.17.10.34.36; Thu, 17 Aug 2023 10:34:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (expired) header.i=@manjusaka.me header.s=fm3 header.b=QLKUstjd; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm1 header.b=tGoRKzMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242031AbjHPGJu (ORCPT + 99 others); Wed, 16 Aug 2023 02:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242007AbjHPGJW (ORCPT ); Wed, 16 Aug 2023 02:09:22 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B6F210C0; Tue, 15 Aug 2023 23:09:19 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7CCCA5C04FA; Wed, 16 Aug 2023 02:09:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 16 Aug 2023 02:09:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjusaka.me; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1692166156; x=1692252556; bh=zlzqembgfhE0WkCCU6cyrn0gHCOoJpWxWoa DKK5MxFk=; b=QLKUstjdzno7jr4QviuCbeDyYe6U1eHEDfJhLa1Nm3YHwaIjwiI qbWj0LbSvY6RBxQGkNuk6uxVkCDA42450Jm/sGZy9NlsyNK4fkAFWbpi/uzHRkjF i0csvib4E0aF8JIcL+HXIbSV+Bw76nHZ3Man7dtQFEziw5t8f/vnescwOOvdy7Nz pTVljhjBLg3uRh7tU2/dVgc51J/kGnvPCqW9URefic3sKZVHf+8KzNHYktqHWZpl FM5bcZGtMbTUepgjXPjPiJCvhmJMC2e3LxO4KKAaXFA262FFMq3vGmYWJMyf8gLo b1UOd4Aei1ipsdaiMdh9jauigYnfo1jaopQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692166156; x=1692252556; bh=zlzqembgfhE0WkCCU6cyrn0gHCOoJpWxWoa DKK5MxFk=; b=tGoRKzMFyaC/cY44HOj2rx4RX6fGRZllZAxUAdHiGxXkWGeUzU2 R//aC1HQGSQfMy/fLIpHli7fNMfPS0q0EM0AZYFOeh+gIdwQamyaPxlCDD94eWcw oEGeIdfrWuivdD8qiknSQnvrBTGvT8yxV4+8wvue4v8rLT402elOPokiQKDeU6Mf G32wmbm9PBE29s1m6663qHnAEu/BtsG4wcKhnMc3xQ6j54g5JLTSIKjC9EcGDIoC /KiUW6DnG3zley+nK/SSU2CWlwZp6UILPRGXGMkv6fXjDOKL36m0PypITdEL/fxU Rf4U3ixEfPznMAcKqw7KQkwLeTnzW9zT0+g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddtkedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepofgr nhhjuhhsrghkrgcuoehmvgesmhgrnhhjuhhsrghkrgdrmhgvqeenucggtffrrghtthgvrh hnpeehheevjeeiudegledtleevuddufedttdekudfgteejjeetfeejleejffdtvdeugeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvgesmh grnhhjuhhsrghkrgdrmhgv X-ME-Proxy: Feedback-ID: i3ea9498d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Aug 2023 02:09:11 -0400 (EDT) Message-ID: <8b0f2d2b-c5a0-4654-9cc0-78873260a881@manjusaka.me> Date: Wed, 16 Aug 2023 14:09:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] tracepoint: add new `tcp:tcp_ca_event` trace event To: Joe Perches , Steven Rostedt Cc: edumazet@google.com, bpf@vger.kernel.org, davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org, ncardwell@google.com, netdev@vger.kernel.org, pabeni@redhat.com References: <20230812201249.62237-1-me@manjusaka.me> <20230812205905.016106c0@rorschach.local.home> <20230812210140.117da558@rorschach.local.home> <20230812210450.53464a78@rorschach.local.home> <6bfa88099fe13b3fd4077bb3a3e55e3ae04c3b5d.camel@perches.com> <20230812215327.1dbd30f3@rorschach.local.home> Content-Language: en-US From: Manjusaka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/8/13 10:08, Joe Perches wrote: > On Sat, 2023-08-12 at 21:53 -0400, Steven Rostedt wrote: >> On Sat, 12 Aug 2023 18:17:17 -0700 >> Joe Perches wrote: >> >>>> I forgot to say "for TRACE_EVENT() macros". This is not about what >>>> checkpatch says about other code. >>> >>> trace has its own code style and checkpatch needs another >>> parsing mechanism just for it, including the alignment to >>> open parenthesis test. >> >> If you have a template patch to add the parsing mechanism, I'd be happy >> to try to fill in the style. > > There is no checkpatch mechanism per se. It's all ad-hoc. > > Perhaps something like this though would work well enough > as it just avoids all the other spacing checks and such. > --- > scripts/checkpatch.pl | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 528f619520eb9..3017f4dd09fd2 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -3947,6 +3947,9 @@ sub process { > } > } > > +# trace include files use a completely different grammar > + next if ($realfile =~ m{(?:include/trace/events/|/trace\.h$/)}); > + > # check multi-line statement indentation matches previous line > if ($perl_version_ok && > $prevline =~ /^\+([ \t]*)((?:$c90_Keywords(?:\s+if)\s*)|(?:$Declare\s*)?(?:$Ident|\(\s*\*\s*$Ident\s*\))\s*|(?:\*\s*)*$Lval\s*=\s*$Ident\s*)\(.*(\&\&|\|\||,)\s*$/) { > > > Actually, I'm not sure this is the checkpatch style issue or my code style issue. Seems wired.