From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id F03E6A0543;
	Wed, 12 Oct 2022 18:19:57 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id CA3A740156;
	Wed, 12 Oct 2022 18:19:57 +0200 (CEST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com
 [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 2431540041
 for <dev@dpdk.org>; Wed, 12 Oct 2022 18:19:56 +0200 (CEST)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.west.internal (Postfix) with ESMTP id B0F423200944;
 Wed, 12 Oct 2022 12:19:54 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Wed, 12 Oct 2022 12:19:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding: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=1665591594; x=
 1665677994; bh=StohBNh+0ac+gYpltr0v/WOskMw++EqWM17vSb4LF3I=; b=l
 ygFgOk+V0bVb4cDBrFiQJlC/e9rVHGvD0CIq8ozKXF/DIWQyPpH8JEnk+mTMZc+c
 i6Hoq3HCMYZyErXcxqWsGeys6dWq1GsnzpfJKs5nCQS1pFMAN13V1AReu7xbJGZl
 uM7o5TT2FEzCBiFBmPeSS7Fr2rWNkO4JAvqF9h2X2S+bVpWLQgx5Mqm84Zzh2EzT
 +8N5OjFJ5QtNfBTP9jb7Y6NPLBo4/g5k9pejBtOxHgUmSz04ZDtd+BZHPt7cfPtp
 oxtOoXeSqpw/3uhx3o092MXi89RvS005qqxkXoeVnuh+lcTM2CUgPgwsTEGe9bEJ
 pjUpbp47Hy3xRb8Wpb6zA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :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=fm3; t=1665591594; x=
 1665677994; bh=StohBNh+0ac+gYpltr0v/WOskMw++EqWM17vSb4LF3I=; b=b
 OtS0Dr2vimQxw0otzTqhQdFEe3p7Lkcm4TP0gpOEOjxv7hL+wKOhenTGSMRzC5UY
 cRIQ+Z4hbUohsWSnX/ZX1Wi6sQHvY5P0d//qKeBQ3R/jK74mgrAvMBVIDWAqjjYJ
 4RS+utfjEY22ZXFKGgqu+T3Qvp8BUZ+7V/eN8ba1+JC8JdTomhoonJcvoI4U2qI+
 G03aF++2lzohrCBZ7Fh4Upr4mvuRV8uVrTEWFZAHsR7412H+EBM8ORqX93jUVNTi
 Ll6E0Be77d8UuphPSym7fv4hrilQ2uKQYhzazxwiwp72cvgz1C6EUmwdVC4I2iSo
 naaeS6GxBKCxd9Q9V+abw==
X-ME-Sender: <xms:KulGY8WzsaIaRw7PxQUkPuXSQ_mJExXYftco3ZgkwZgLw20hGyiXrA>
 <xme:KulGYwmlvsTFm0PvpmqyiZNmFvU5hjFgre5OaFoHUNIO5KgLKw4y7NWR8inQwb17r
 8_NMd20K17j8Kvd6w>
X-ME-Received: <xmr:KulGYwazHvfO4sTYhs4v5YH3PH8jVLA_9ezRd7S93XZMpdf03JzSZJ0GhG2EpCInwV8XhswYlEEPze3h7ZDBCWoenw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedguddttdcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho
 mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne
 cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt
 ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:KulGY7UJVU8v7a1TncZdQBO5jL8fWvJvZAK28KKsJXwXah9oCqst2A>
 <xmx:KulGY2mEDVNf5bBsR9p3igmXH0vwzXWz4NxmpZ3Q0e7R6eFr5PNXxQ>
 <xmx:KulGYwdTaiHtk6x_JgOajplSpotbhw4VUfUksgjLl3vr70m4MGtrPQ>
 <xmx:KulGY9tcWfjRq9pMhyqtn5iboWz79bJPczHpQxxwPZ2wGttxTaNwSA>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 12 Oct 2022 12:19:53 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ankur Dwivedi <adwivedi@marvell.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Akhil Goyal <gakhil@marvell.com>,
 "royzhang1980@gmail.com" <royzhang1980@gmail.com>,
 Amit Prakash Shukla <amitprakashs@marvell.com>,
 Jerin Jacob Kollanukkaran <jerinj@marvell.com>,
 "david.marchand@redhat.com" <david.marchand@redhat.com>
Subject: Re: [EXT] Re: [PATCH v2] devtools: add tracepoint check in checkpatch
Date: Wed, 12 Oct 2022 18:19:52 +0200
Message-ID: <7317480.ejJDZkT8p0@thomas>
In-Reply-To: <CO3PR18MB500555011451DDAFA64A83F8DD229@CO3PR18MB5005.namprd18.prod.outlook.com>
References: <20221012092337.5988-1-adwivedi@marvell.com>
 <6793875.kQq0lBPeGt@thomas>
 <CO3PR18MB500555011451DDAFA64A83F8DD229@CO3PR18MB5005.namprd18.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

12/10/2022 17:16, Ankur Dwivedi:
> 
> >-----Original Message-----
> >From: Thomas Monjalon <thomas@monjalon.net>
> >Sent: Wednesday, October 12, 2022 6:39 PM
> >To: Ankur Dwivedi <adwivedi@marvell.com>
> >Cc: dev@dpdk.org; Akhil Goyal <gakhil@marvell.com>;
> >royzhang1980@gmail.com; Amit Prakash Shukla <amitprakashs@marvell.com>;
> >Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Ankur Dwivedi
> ><adwivedi@marvell.com>; david.marchand@redhat.com
> >Subject: [EXT] Re: [PATCH v2] devtools: add tracepoint check in checkpatch
> >
> >External Email
> >
> >----------------------------------------------------------------------
> >12/10/2022 13:45, Ankur Dwivedi:
> >>  devtools/check-symbol-change.sh | 76 +-------------------------------
> >>  devtools/check-tracepoint.py    | 52 ++++++++++++++++++++++
> >>  devtools/check-tracepoint.sh    | 66 ++++++++++++++++++++++++++++
> >>  devtools/checkpatches.sh        |  9 ++++
> >>  devtools/common-func.sh         | 77 +++++++++++++++++++++++++++++++++
> >>  devtools/trace-skiplist.txt     |  0
> >
> >Before diving into this proposal,
> >I would like a split of the patch for the rework (and move) of check-symbol-
> >change.sh alone.
> Will split the patch in next version.
> >
> >In general I see too many files added:
> >	check-tracepoint.py and check-tracepoint.sh common-func.sh is
> >probably a bad name.
> Regarding common-func.sh name, I am thinking of renaming it to common.sh or helper.sh, considering there may be more common shell routines in future. Otherwise it can be renamed to build-map.sh considering it will contain only build_map_changes() function. 
> Please suggest a suitable name if my suggested names are bad.
> 
> Will try to combine check-tracepoint.py and check-tracepoint.sh.

There are many very different scripts in devtools.
Having a very common script won't work well.
Please keep scripts specialized.
If you need a script to check symbol, it should include "symbol" in its name.