Message ID | 20221015125826.27760-1-adwivedi@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DFC88A0558; Sat, 15 Oct 2022 14:58:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 196C142BB8; Sat, 15 Oct 2022 14:58:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2A9D740E25 for <dev@dpdk.org>; Sat, 15 Oct 2022 14:58:43 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29FCRW6i012559; Sat, 15 Oct 2022 05:58:42 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=Y61j9XvPvkAuR8R8FMOY/a2H5w0+97YL15uTrBz6AwQ=; b=B0kLVZDMZgUkra6rvCxxf/E0EHK+8u21+rdFw8tV7+QAQ+Puu9WKVD5uY5VRmhdTF09l AhtUw3RNKERZU1+czlKapPyOVmZRXMotYMK8nKQhmwGxQhPEEazxSYGLvS9GzcU1/sPt VR90QpDo4SY/qlyABGtz3+tcBTuSh9/e/2jVvKcX8UzP2txqga56RRxAgbPll5g4yetd lQRXuW2ck3Fkx3U3yFBJI/bwlppUrCfMvY43sUZBJSs0mXgmznCRVGxA50pqrFkGCsjZ hp+M03hejCVEb4aQaoV/FNDc6QgQRAsVYdZgmMbE43CiJMOO2FpK/g2kUV3FSqPznmG1 Nw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3k7t7q8dft-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 15 Oct 2022 05:58:42 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 15 Oct 2022 05:58:40 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 15 Oct 2022 05:58:40 -0700 Received: from hyd1349.t110.caveonetworks.com.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id 500873F706F; Sat, 15 Oct 2022 05:58:38 -0700 (PDT) From: Ankur Dwivedi <adwivedi@marvell.com> To: <dev@dpdk.org> CC: <thomas@monjalon.net>, <david.marchand@redhat.com>, <gakhil@marvell.com>, <royzhang1980@gmail.com>, <amitprakashs@marvell.com>, <jerinj@marvell.com>, Ankur Dwivedi <adwivedi@marvell.com> Subject: [PATCH v3 0/2] devtools: add tracepoint check in checkpatch Date: Sat, 15 Oct 2022 18:28:24 +0530 Message-ID: <20221015125826.27760-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20221012114525.12220-1-adwivedi@marvell.com> References: <20221012114525.12220-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: WiAI2_7xYVpQUG-TZg9sIESsfCHSgq05 X-Proofpoint-GUID: WiAI2_7xYVpQUG-TZg9sIESsfCHSgq05 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-10-15_08,2022-10-14_01,2022-06-22_01 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 |
Series |
devtools: add tracepoint check in checkpatch
|
|
Message
Ankur Dwivedi
Oct. 15, 2022, 12:58 p.m. UTC
This patch series adds a validation in checkpatch tool to check if tracepoint 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 library. 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
Comments
Hi Thomas, Please let me know if this series can be included in 22.11 rc3. Regards, Ankur >-----Original Message----- >From: Ankur Dwivedi <adwivedi@marvell.com> >Sent: Saturday, October 15, 2022 6:28 PM >To: dev@dpdk.org >Cc: thomas@monjalon.net; david.marchand@redhat.com; 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> >Subject: [PATCH v3 0/2] devtools: add tracepoint check in checkpatch > >This patch series adds a validation in checkpatch tool to check if tracepoint 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 library. > >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