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 00A3A45635; Wed, 17 Jul 2024 14:09:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4E9140299; Wed, 17 Jul 2024 14:09:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 3D39640261 for ; Wed, 17 Jul 2024 14:09:58 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46HACm9W020649; Wed, 17 Jul 2024 05:09:57 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2043.outbound.protection.outlook.com [104.47.74.43]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 40ec0b0af9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2024 05:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=X+0iv9kC42zA+DXqPHcAZUJ496zZiHz3t9/40o2D9co7xCl8tb6l8TNBGNjt0h/X3INiYIGA/40V0hwEt4+ojYx16hQ/HfAaUfKiN+dvovCgIxxNT5LdPVyDtRmQmpKgYjRHpt91wuGIHx1MqGoxz8UghHrtjGTuu7YvscXCgb2lce3Ku7au4Z6Ih1XX3JPNYkrTV0KpOrhhDl1jn+NzG8LZmQG2lwHpfjf8lf4OrCwHpWDPf6trk2lhxqJpejCf9txatYaSrGWDKHkVcxHIWhWgfjbWt8LlctjBhuqLrRfwRbKC/E1CkTAiGLPpV+xIMWlDZtECJQ2OqaKke/SVOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=h3ou9SoVNhxROvr31IK4SJuI6Rn05iq0jPv0CpW3pR0=; b=UsZvMqDslOKWDvSCH7DsVfiR5DdDhnzWft5HNpgnx93TYZOX089Isu402ZVhrfMmATQ7xwdI8nwfHOEXyL/4kbIp73FVLAERRRtGHk328GLKXdpl3DZFBOWaITIiqVczjzGpwS+VNPO9+mcPqPCGlQKfoRN3Gg6ZkRogGWzVzahwoxQ0rMWA/1K2QHPzEedqF1UkUhuefS+HPt7lM30z1pq6/+cKaX2wZ2EzI6eIwW4WeZkzzth3RKq6JRy02wx1Yt1jubD4VorKAHEUjTSk7yI3W+0R4WVrQ5l/9QOLxTMlIpZzMY1Y5aee8kddW0v7CWh5MJvYlXiPgt2F3PlKYQ== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h3ou9SoVNhxROvr31IK4SJuI6Rn05iq0jPv0CpW3pR0=; b=eTgGX5/Xj+IShiD2M7+VcbAEuqgBXZD6kdTwIYyKTHQAQvbnzvzq9xA4heZTYHrrdd8Ha2vUUMlT2+IukEKJd9LzJYjO/KsEfBgSTRn1iHgwdw27D9RZBipgAkK2Xi8wXJ5QnBUJAEQEWsMvU3EFsfyXnZd0BmsY/2C7n9BdnWY= Received: from BY1PR18MB6109.namprd18.prod.outlook.com (2603:10b6:a03:4a6::17) by DS0PR18MB5412.namprd18.prod.outlook.com (2603:10b6:8:15c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.14; Wed, 17 Jul 2024 12:09:54 +0000 Received: from BY1PR18MB6109.namprd18.prod.outlook.com ([fe80::8b06:27d0:59ed:cf27]) by BY1PR18MB6109.namprd18.prod.outlook.com ([fe80::8b06:27d0:59ed:cf27%3]) with mapi id 15.20.7762.027; Wed, 17 Jul 2024 12:09:53 +0000 From: Ankur Dwivedi To: "dev@dpdk.org" CC: "thomas@monjalon.net" , Jerin Jacob Subject: RE: [PATCH v6 0/2] devtools: add tracepoint check in checkpatch Thread-Topic: [PATCH v6 0/2] devtools: add tracepoint check in checkpatch Thread-Index: AQHaLyIfLCk8+A3KuUGoXaMf5S/8x7H8JcEg Date: Wed, 17 Jul 2024 12:09:53 +0000 Message-ID: References: <20230307120514.2774917-1-adwivedi@marvell.com> <20231215064355.1429709-1-adwivedi@marvell.com> In-Reply-To: <20231215064355.1429709-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: BY1PR18MB6109:EE_|DS0PR18MB5412:EE_ x-ms-office365-filtering-correlation-id: add1d9b2-cf44-4488-d2f0-08dca6595dd3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?AAklGZdbfGUm5kWospDertySr4jKMR6glyazU3sxF96GsIQOzOM196I+KwrY?= =?us-ascii?Q?Y4B12xPj+0BfwaZDj5PGbCk5kVWxmvURjUWPBUcUOGtH99fFK9a4EHyCGHw8?= =?us-ascii?Q?5kZFo57qasQyORh8BuByK5ZgK1nfarOwMYe9fL9bHb9KFe/OgBxKG0XzdqTt?= =?us-ascii?Q?d8Y7pNKy4H0mf7MUM+3VnWT5vuhQbzVqZHRHt06IPlgCs9jaPrvetCDti52+?= =?us-ascii?Q?/tQCXjp4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IiZC6sRf?= =?us-ascii?Q?2XcYFFlusARcwO4WKmdEz9eX9UVXonWtmCfJckCjLrKeGhAX18kodPBsaL4l?= =?us-ascii?Q?Z+P0d80i6AmW4RNIa1l448AR/a6fFBzm6aU3QGYNtJjv2Os6frcPEwJyHoln?= =?us-ascii?Q?DBhZnyHiAxa4aolJ9cIKJLlNwuDUpYJV+O6Fe9sG+SsnQyJ4XoU+Qw8Kgb+g?= =?us-ascii?Q?5SpMiK24tt52c3L2dpJEdLzjs4060mFBdp5iEsclOywgLuBOF62yICxsvNta?= =?us-ascii?Q?Z5DJAmdqDduhc/jItRDJkM3DTlQFNqfZC17CG9ZIKlJjnLcv8A=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY1PR18MB6109.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bx5nBk4nB8TizjvFuqxipKnzktW7725rnhAwdOjPOeVvSRhbVwBBHNYh1Q5F?= =?us-ascii?Q?aYQtGg7XyCVZeFcMZg1Z0pbToKSi8qp2rqJk4bi02kCbgUpbrFyNTvf9XLg8?= =?us-ascii?Q?uqdiNrfq+CqyksT0pI7qUP7+covZDTgjmvBBgmuAxVqGEgUjkmolWmu9i44+?= =?us-ascii?Q?Us/N5/nvSLSEiwrVKlmDEHIj7Wai4r8PkWt5rI/GR+OMRKGjhDgQEuedzvwf?= =?us-ascii?Q?bu/mky86gGKX9oYENqy/Q4LMMqNPlCTkC8z88uSipW5LjXdWu1Tn5jkvQ3cV?= =?us-ascii?Q?2T5qO0udMGcuMWJT35yvewayeKgC+gHksO+Qbp9pi0VeCVQBeaSHkBbyRNcL?= =?us-ascii?Q?LOj2kTk0CCJB6doBTLCjyZpxdQoXiCMxuPungMFwGcq54s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CT09nzq/w7MNdlXDmdpWSdyZ9qIgWjyQUs26Pz9AydVNwfX?= =?us-ascii?Q?fmpLmPislMo1xv1QUwYJCm2kNz7m2ANFwEOFhpSFt/iq49iVVVIceAfzfunU?= =?us-ascii?Q?NLGvddO3Tyblfm5W+DNWCud8BnlO97oXssqLEKNOWPEVF8QQy7+an7pNHQL2?= =?us-ascii?Q?hUroW0MjM80Ls2eAJRZBc/cJ6GklcIaJlhiaqBIH8tiq3tCcQxGo+30vRS1U?= =?us-ascii?Q?kU2i9b3CbejxUtyzXF1vkyH/xWljbmCNNmkaJR1Y3p7Eg3eTt0KItJakZKVz?= =?us-ascii?Q?jGubhM67gazaauOp3Nelrwe7B/LsUGvSbf5DQElE?= 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: BY1PR18MB6109.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: add1d9b2-cf44-4488-d2f0-08dca6595dd3 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2024 12:09:53.5967 (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: tkrjV+aspQ93tG7kBP6Ml4OB6I0GT4FIzdNilPRsFr3Qpg9mtDw6OvQUG6+SNdP8+T9dm0/2yUnHXQlhe+H7eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR18MB5412 X-Proofpoint-GUID: KXql-UMNVJQTfpFQyuOLG25tgyNr2um1 X-Proofpoint-ORIG-GUID: KXql-UMNVJQTfpFQyuOLG25tgyNr2um1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-17_08,2024-07-17_01,2024-05-17_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 >-----Original Message----- >From: Ankur Dwivedi >Sent: Friday, December 15, 2023 12:14 PM >To: dev@dpdk.org >Cc: thomas@monjalon.net; Jerin Jacob Kollanukkaran ; >Ankur Dwivedi >Subject: [PATCH v6 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 ethdev, eventdev cryptodev and >mempool library. Please let me know if this patch series can be merged in DPDK or if there a= re any comments. > >v6: > - The build_map_changes function is moved from check-symbol-change.sh to > a new symbol-map-util.sh file. This function can be used in other > scripts by including symbol-map-util.sh file. > >v5: > - Copied the build_map_changes function from check-symbol-change.sh to > check-tracepoint.sh. > - Added eventdev, cryptodev and mempool in libdir in check-tracepoint.sh. > >v4: > - Rebased on the recent next-net branch. > - Refined logic to find function definition. > - Updated year in the license in devtools/check-tracepoint.sh. > - Removed cryptodev, added ethdev in libdir in > devtools/check-tracepoint.sh. > >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 map changes function > devtools: add tracepoint check in checkpatch > > devtools/check-symbol-change.sh | 76 +--------------- > devtools/check-tracepoint.sh | 148 ++++++++++++++++++++++++++++++++ > devtools/checkpatches.sh | 9 ++ > devtools/symbol-map-util.sh | 78 +++++++++++++++++ > devtools/trace-skiplist.txt | 0 > 5 files changed, 237 insertions(+), 74 deletions(-) create mode 100755 >devtools/check-tracepoint.sh create mode 100644 devtools/symbol-map- >util.sh create mode 100644 devtools/trace-skiplist.txt > >-- >2.25.1