From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A6844A00C2; Wed, 2 Nov 2022 05:09:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74ABC40693; Wed, 2 Nov 2022 05:09:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EE82240223 for ; Wed, 2 Nov 2022 05:09:00 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A233s30016814; Tue, 1 Nov 2022 21:09:00 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2048.outbound.protection.outlook.com [104.47.74.48]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3kkgacg648-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 21:09:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nnzeQ5vovUq7mTMUveW8fy44G8lurFt9mjuNLJB/O/epOKGsu4stGf4To9tb1iLQf54jxgirOaBUaE+rDJhC71Apf4WhAKU+xA99d+OPRHNaWXLLejlSyCcDz7/i50S8KwfEZ/NRxVKFdW9hSrsV36Ysf07+r5z1rDnCG5jcAZOSln4pMWJ/xQV4p8WpPtM+eK5F6TsoNAfCThDU/WKYkizsbePo+tZ1BLgjUZdpyP0DE5SuOYmcKdgFJ6H+295DgyDi9kHMA5wNrFD0XZ79WBoiIorzkvsFQar7J5MLI7KyRXrTSOaiaSyQbwpX3+BBUXXxQjbnpdjUURBkuP+ktw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VH4UHt+DaXDL1cc2TTYzQyczgbvmKX932JS9bWd8Nl8=; b=ivhkB3Q6aisgw8Pww457k9YnV+AzDejXe2QEJMGADHvCPG24I8h9RhBozezCDzLegD3kcXDn3anwz3igsXYpGULKyPbYtnEssQxn6HzGIFug1okOtYBqgWNCL6/Mv9p/v92ZG8X0Aeon22asQ6cRWLacFmiDlD+Vm183Kaw+OBHrQIx0cZfQlcnuOZ8tPr6VSJM6usaR3pz4O6Fpy6gmDBRPtj/BXIittK/zErvKPur14yQHtEYXsX0HLhwTMhXbRWj2xVqKZp7kByaSSz4MR8DE7951eqmt1fpV8naAeiP9s3dt9B2AA2i9lywMQJ1lxI12eabGyEEGcWopS/9nzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VH4UHt+DaXDL1cc2TTYzQyczgbvmKX932JS9bWd8Nl8=; b=NUmNoZE+rf4pCv/kjbZKxj1yiQNEOqcVSagdCuCGUDG2zpwjBqQFOIC6aY5I2oArql/x8PAUSBZav5RSI5r+olBlNgMsyaA+NX6yd9mq09Ko7NTY8XRvnNO7sS8dq+CVs+iwXkC1Vo/RYU3KsTW67grFCZt+Sx016+P+oPkq1DU= Received: from CO3PR18MB5005.namprd18.prod.outlook.com (2603:10b6:303:17e::22) by CH0PR18MB4355.namprd18.prod.outlook.com (2603:10b6:610:d3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.15; Wed, 2 Nov 2022 04:08:58 +0000 Received: from CO3PR18MB5005.namprd18.prod.outlook.com ([fe80::303f:79c9:4cae:580]) by CO3PR18MB5005.namprd18.prod.outlook.com ([fe80::303f:79c9:4cae:580%7]) with mapi id 15.20.5769.021; Wed, 2 Nov 2022 04:08:58 +0000 From: Ankur Dwivedi To: "dev@dpdk.org" , Thomas Monjalon CC: "david.marchand@redhat.com" , Akhil Goyal , "royzhang1980@gmail.com" , Amit Prakash Shukla , Jerin Jacob Kollanukkaran Subject: RE: [PATCH v3 0/2] devtools: add tracepoint check in checkpatch Thread-Topic: [PATCH v3 0/2] devtools: add tracepoint check in checkpatch Thread-Index: AQHY4JXfis9xNWPjR0efIbZF0E/wLq4rH3Mw Date: Wed, 2 Nov 2022 04:08:57 +0000 Message-ID: References: <20221012114525.12220-1-adwivedi@marvell.com> <20221015125826.27760-1-adwivedi@marvell.com> In-Reply-To: <20221015125826.27760-1-adwivedi@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO3PR18MB5005:EE_|CH0PR18MB4355:EE_ x-ms-office365-filtering-correlation-id: f0a0241c-8ae0-4719-0226-08dabc87f738 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RECRSYTLonNEZxad/wFNZCEXYyFECKzON2Zkx8ohoX+svMqoCFrAS9G/FrvuchEqeghZliY2aRoIhPVNZK26IOjU9NIYpqQzbm3fWGOzSYykCb0omfZ+r4M/LiuNxXyN01X+BODTP7W7VOU2mRQb6zC5of5lz211EVk+/9vHeiI+ChRmur4x3LfVR+kroKwc8N0qpY2CggNoX5UsEn/BRlOabyGSSiBqIuU6P1CRiXaoAJELkkunrfhlEwJcmgSPFMH6+PW6x0bINg/v123p/0EcbI1TwMjO000fqvCHvvnA2WsaanIqd9rQs81c4sfks+t/j3u1LN9YbD/UuNDRuFp1I1uKVQ5XzmuFSBIHzPd0Z+QOtkPhl+Uh7QdGxls/5C6GAY7/aTABnxY1UPoAmgXBmyPuUlLNqip9JXEqUkRO7/yjdF1OqYOPmOzH7JtRQKET76DCaV8uSOIUthwsqAtoMaj8Vl37hsrltJf/bV0B+AWa+B5r2tPCX8Gbdx5JA4qLIE89zQROP4OUciuAU/WKybbO7e+WgeMa6RfQyqiC1ssutHrfdJ1oJXB1cd7wSNTFmtqSqSJC5ghSTzvHmby+5o1pvnDp9RSs5S/8q5Vfcc+akXmm6llufSz6UQTq8HYljxLACNzDQAYhgIWfmLsUXM1KEkabdUE1YoDFXI2e4lowu8Eb2ru2UbOfejnryTUtTky/jykGqIREfFDctodpI0yQTZ67Awpl1JssazOuwJjG4zya/DdXA5EzHLwCakAhpXbfDIIXL7ko04AAKg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO3PR18MB5005.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(136003)(39860400002)(366004)(376002)(396003)(451199015)(33656002)(66446008)(86362001)(122000001)(38070700005)(38100700002)(83380400001)(7696005)(2906002)(55016003)(9686003)(26005)(186003)(6506007)(478600001)(107886003)(54906003)(41300700001)(110136005)(66556008)(66946007)(76116006)(4326008)(316002)(71200400001)(64756008)(5660300002)(8936002)(52536014)(8676002)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jrPaVxLQXWZK1RU++91eRMDOOsy1tvTh6n7XGUhmenL5Hgygmc4h4W1wsSJ+?= =?us-ascii?Q?fGTq20s78jWyKL/WM+7JNG0NLXjdJ9PAC+WrPOPxyZUFMt7vE+cgFpYMRS9w?= =?us-ascii?Q?527ippZXRCQ+jU2XlVCbncf0qWsBK7S7eoNGvmEsWceT3NQQ9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F2Rc9Q6u1Myw9E533vXuivhP0xtr/Z6VqtomP5m7DHTu?= =?us-ascii?Q?C3zQLIUhbPpRJu19rp/x26fGvh1juqmPPUg8RUuzci3NYq19ZUvL7J5N/Y3Z?= =?us-ascii?Q?pqKfwmfeY3TTa7/qfp/X2+s1/kDSklfj1CJn+lN6YiyAJ7vFFtoQiYHz22Gv?= =?us-ascii?Q?u72wDINp1NnqiwYXqBPtmc2pIaqrte5Ok0Z+977ROVs0D5xpdlXdlAyomxQ8?= =?us-ascii?Q?4WaneuEaK03bo8J2Vv2QrElff+ZjOCWg/Tjh5qXi8sRMdq9IKV0eX/FLJ6xJ?= =?us-ascii?Q?rit8yicuSu+VS6pwXKeqyGXTvCEv0DXrSlA1eeuTw+c3WaGdU6kcD/jJVgM5?= =?us-ascii?Q?V1h5zDW9m8JMlEqvsP8aRI77MIMbINa4U/Gv7wIfmkALelp17spvJgnuZM7M?= =?us-ascii?Q?OOE+XuqIHQAhCJlJLrGS6oAf1/ax1NsXsy0UZhk8SY6zgeR+4qNzP0Wa7U4b?= =?us-ascii?Q?KLyAVqDob8F2bEHHJd7LVShQPca4rH0gkau3RM3mu3gBuct3Z3ElHMblBBhl?= =?us-ascii?Q?8ORbFpuLHRFUKm/K1Y0=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO3PR18MB5005.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0a0241c-8ae0-4719-0226-08dabc87f738 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2022 04:08:58.0127 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DlXcyfgMobh6Aij4FauQo9rE7k3n/MhlIA1HwI5wj/UcrlbT2o+9b1gzKSoCMw7jlfd/ba/cD2hgylk+Jqwt9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR18MB4355 X-Proofpoint-GUID: 2J3EgDt-2sCFHKfdgIh96jXDltFxG0YA X-Proofpoint-ORIG-GUID: 2J3EgDt-2sCFHKfdgIh96jXDltFxG0YA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-01_12,2022-11-01_02,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Thomas, Please let me know if this series can be included in 22.11 rc3. Regards, Ankur >-----Original Message----- >From: Ankur Dwivedi >Sent: Saturday, October 15, 2022 6:28 PM >To: dev@dpdk.org >Cc: thomas@monjalon.net; david.marchand@redhat.com; Akhil Goyal >; royzhang1980@gmail.com; Amit Prakash Shukla >; Jerin Jacob Kollanukkaran >; Ankur Dwivedi >Subject: [PATCH v3 0/2] devtools: add tracepoint check in checkpatch > >This patch series adds a validation in checkpatch tool to check if tracepo= int is >present in any new function added in cryptodev library. > >The first patch in the series moves build_map_changes function from check- >symbol-change.sh to a new file build-symbol-map.sh. > >The second patch in the series adds a new script file check-tracepoint.sh = which >is called from checkpatch tool. The check-tracepoint.sh contains the code = to >detect the presence of tracepoint in a new function added to cryptodev lib= rary. > >v3: > - Split the v2 patch into 2 patches. > - The file common-func.sh is renamed to build-symbol-map.sh. > - Removed check-tracepoint.py file. > - Code improvements in check-tracepoint.sh. > >v2: > - Add check for parent directory. > >Ankur Dwivedi (2): > devtools: move build symbol map function > devtools: add tracepoint check in checkpatch > > devtools/build-symbol-map.sh | 77 +++++++++++++++++++ > devtools/check-symbol-change.sh | 76 +------------------ > devtools/check-tracepoint.sh | 129 ++++++++++++++++++++++++++++++++ > devtools/checkpatches.sh | 9 +++ > devtools/trace-skiplist.txt | 0 > 5 files changed, 217 insertions(+), 74 deletions(-) create mode 100644 >devtools/build-symbol-map.sh create mode 100755 devtools/check- >tracepoint.sh create mode 100644 devtools/trace-skiplist.txt > >-- >2.28.0