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 A5406423B8; Thu, 12 Jan 2023 17:32:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C5D442D84; Thu, 12 Jan 2023 17:32:10 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 932E142D4F for ; Thu, 12 Jan 2023 17:32:08 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30CEfYgF001877; Thu, 12 Jan 2023 08:29:44 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3n23b2jja0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:29:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R6EI9Du3PCAfkrbyowsf4kiZxYSFI0gn1/CXVyUauXMN9KOWiosSXGz/GCUM0V94uwebH2/idbAjGLljh5JC7ngc35QWyagpP4Z10BcC/eSdKcZJJbslhEIalKUcugd90Yuycz8rbQMER7zts/WsMUjEa8SbvuyOG/XmA4x+9MVDbDyUQoib8uW4v0hhkGJnr/DGZgnug/83MLfCkMXOqO5VSf9h75Zl/zQeBVbUOMjGGjdNUz0wKNzr0f2Htjr5LRYoJzmreRVBec65Sxy/6Wr3SlSDgFe5vlfLMlloOIUBYjuJO/AARQIC8oOdcMgd0NX0ZcNZCvvvgzgV6L7AAA== 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=1yDK5J3gGlk8KXBHPAKGWm+dB1BTHvdghLiJXICu2G4=; b=kRSdOPVTopTTpn9kj+OgHs4hEaw2l+HbuGOLN3sEVDKPXfu4qYg4Nfy01NxBIFNxd9cOpjG+r8x0jY4X30kE3VYu/TYHike0lhqc16HNFaD8fHZdkbOeTRxhS/yROJn95AK0GbsDuyDAz1eTOvFTUbIhjz4KlRsRUiU73Vk7RshxEgTKHJlL/Zdy9B4mpd/+SybIe3UHDutms0gWmbMelPO/6bqTlOnP32GboEA8n0yc1L6nq70iGYPsra2XIH3G6dHYo0Erxkazt4qs5alpamtq4opgm1fprcbZQPOZ60NSEKSIRkowbmYWa2mi2n6XJ6Ie4Kmosl60J9rnXVmJYg== 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=1yDK5J3gGlk8KXBHPAKGWm+dB1BTHvdghLiJXICu2G4=; b=Qull3oc4Fuz8Sihl14KMn2PZG9yetQIebHLmeiDqEERX1AypHtUB/86APZ8hrmFv6KENqS2cYFFC6cexF3bB0dEoXzN9Kg+jaIxTqMjsywqoQErP04PjBqDyLcgW+gsrlWwyBQtvL7EWUnWh5W5i5s7fYgBQ0RsrQBTvOsZw4WA= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by SJ0PR18MB5085.namprd18.prod.outlook.com (2603:10b6:a03:430::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Thu, 12 Jan 2023 16:29:41 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::34c8:9ef:8b55:9533]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::34c8:9ef:8b55:9533%4]) with mapi id 15.20.5986.018; Thu, 12 Jan 2023 16:29:41 +0000 From: Sunil Kumar Kori To: Ankur Dwivedi , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "mdr@ashroe.eu" , "orika@nvidia.com" , "ferruh.yigit@amd.com" , "chas3@att.com" , "humin29@huawei.com" , "linville@tuxdriver.com" , "ciara.loftus@intel.com" , "qi.z.zhang@intel.com" , "mw@semihalf.com" , "mk@semihalf.com" , "shaibran@amazon.com" , "evgenys@amazon.com" , "igorch@amazon.com" , "chandu@amd.com" , Igor Russkikh , "shepard.siegel@atomicrules.com" , "ed.czeck@atomicrules.com" , "john.miller@atomicrules.com" , "ajit.khaparde@broadcom.com" , "somnath.kotur@broadcom.com" , Jerin Jacob Kollanukkaran , "Maciej Czekaj [C]" , Shijith Thotton , Srisivasubramanian Srinivasan , Harman Kalra , "rahul.lakkireddy@chelsio.com" , "johndale@cisco.com" , "hyonkim@cisco.com" , "liudongdong3@huawei.com" , "yisen.zhuang@huawei.com" , "xuanziyang2@huawei.com" , "cloud.wangxiaoyun@huawei.com" , "zhouguoyang@huawei.com" , "simei.su@intel.com" , "wenjun1.wu@intel.com" , "qiming.yang@intel.com" , "Yuying.Zhang@intel.com" , "beilei.xing@intel.com" , "xiao.w.wang@intel.com" , "jingjing.wu@intel.com" , "junfeng.guo@intel.com" , "rosen.xu@intel.com" , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda , Satha Koteswara Rao Kottidi , Liron Himi , "zr@semihalf.com" , Radha Chintakuntla , Veerasenareddy Burru , Sathesh B Edara , "matan@nvidia.com" , "viacheslavo@nvidia.com" , "longli@microsoft.com" , "spinler@cesnet.cz" , "chaoyong.he@corigine.com" , "niklas.soderlund@corigine.com" , "hemant.agrawal@nxp.com" , "sachin.saxena@oss.nxp.com" , "g.singh@nxp.com" , "apeksha.gupta@nxp.com" , "sachin.saxena@nxp.com" , "aboyer@pensando.io" , Rasesh Mody , Shahed Shaikh , Devendra Singh Rawat , "andrew.rybchenko@oktetlabs.ru" , "jiawenwu@trustnetic.com" , "jianwang@trustnetic.com" , "jbehrens@vmware.com" , "maxime.coquelin@redhat.com" , "chenbo.xia@intel.com" , "steven.webster@windriver.com" , "matt.peters@windriver.com" , "bruce.richardson@intel.com" , "mtetsuyah@gmail.com" , "grive@u256.net" , "jasvinder.singh@intel.com" , "cristian.dumitrescu@intel.com" , "jgrajcia@cisco.com" , "mb@smartsharesystems.com" , Ankur Dwivedi Subject: RE: [PATCH v5 1/6] eal: trace: add trace point emit for blob Thread-Topic: [PATCH v5 1/6] eal: trace: add trace point emit for blob Thread-Index: AQHZJng54BXhV+WahUibPYIchIwirq6a0+kQ Date: Thu, 12 Jan 2023 16:29:40 +0000 Message-ID: References: <20221222063306.3383695-1-adwivedi@marvell.com> <20230112112140.807233-1-adwivedi@marvell.com> <20230112112140.807233-2-adwivedi@marvell.com> In-Reply-To: <20230112112140.807233-2-adwivedi@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc2tvcmlcYXBw?= =?us-ascii?Q?ZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5?= =?us-ascii?Q?ZTM1Ylxtc2dzXG1zZy00ODgxOGIxNi05Mjk2LTExZWQtYjZjMS05NGU2Zjc5?= =?us-ascii?Q?MjY4OTBcYW1lLXRlc3RcNDg4MThiMTctOTI5Ni0xMWVkLWI2YzEtOTRlNmY3?= =?us-ascii?Q?OTI2ODkwYm9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YVFCdUFIVUFjd0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21ldGE+ x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|SJ0PR18MB5085:EE_ x-ms-office365-filtering-correlation-id: 5bf94da7-5a98-4e52-4e3d-08daf4ba3477 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aSZrmM3G3DmgSihtOl6yHoWOjzQ2ViXTKGVF5eB46ee4/jdPSl8KUbbIGx/ee4nzLABuhsAA3o3Qk4X5quxmOiwQ5DLHlzBHn9KlEHn7PKQZV81x+bSxyJwPLGwI2kd4ny7hvkR3u4TOWBvs7boNW5VJcssSPhjqyE7QJN7V2ToDDuM+ahHg1LF56s/usCEHODJY3yux0NW3OAb60nJysNjC0amsufgqhi8r4A3yVYtNLaCgJ673+8cAuoNaouUWFn+UxiCsOESu0yiDpC9ViBR2nYX6S709Xshg2QVoSLg/AreMMx/i8bmeVEibyvK2j+TPGJ5gZraA1ZOOMtO2DRPOPEqdtl2XiPatwaDrgxE++iQu0uOYoqXa/nx+nfwTB5oTOK8ZpXsi/Y3ZWqrw5fMXn5eUotW6gWdJD5AWYjQnRvl0XoLW45VQkDCBb7Gz1QxEoshyAVozKLNORJVKA/tXQBTulrjJ7Iy9d4yoAOFy53LA0gnOMzEwj97Gr/J3TXyfFmwPoYqNmQxBOdktOHO2qPRr4XOE7UWBC82v5Wig+fNSdaRJ7jZf7X6RSsNyvnuXsjheVqzcN3jGFGxefexgSHf17em+fEzeB9ZfyMusoY+NGkre3Yx7R9ZXAtaiHI6TxJwfIF2uOPM/XHFSoTBdIgo4Fd9h0U7bJc5+FSSOwD3XaM1Gr1D17FUkwK9F/AnUWWrODr7Gn+nSA4lnhA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(376002)(366004)(346002)(39860400002)(396003)(451199015)(6506007)(2906002)(53546011)(110136005)(54906003)(316002)(122000001)(33656002)(38100700002)(64756008)(55016003)(76116006)(66556008)(66476007)(66946007)(8676002)(66446008)(5660300002)(7406005)(478600001)(7416002)(7366002)(52536014)(38070700005)(7696005)(8936002)(186003)(26005)(9686003)(107886003)(41300700001)(71200400001)(83380400001)(4326008)(45080400002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Jg/rPphcs1UrjD2wEs4+6leRtfMyP5x5mJwvrJKFDokAi1Kz64JE05nYbGvQ?= =?us-ascii?Q?lJQBOQpe0thX1sJnd8LeSZtPocWQXeCssItEsJzvSE1D9PCbmy2wgvD0nAlo?= =?us-ascii?Q?569ddk4/CQ/12CeSOssuDN44qTRHtuI+CI5iAgeyzSVJuO+1dWv4w/yShWLB?= =?us-ascii?Q?ORid70ZHAKSbGNV8Lyi3Y8fPzBHRG9Af3K6j6x5FPcKOZ5LypfzT6AiBBLHD?= =?us-ascii?Q?oamAytWdbCEPwLH/XgQHlaeXsITWYlkePW+CuHNrKwqHzAcFDFah2AasRl8e?= =?us-ascii?Q?Dkpbr50MVJBm45CqlFw0rv/o7yBFFt+h0Rvn5GmGvPT6Op6deKUeNbGhlCoz?= =?us-ascii?Q?viLO1Y3RWNV7y5OxHj3Cwyq+W9b2ipDUU/stvkIyAIz9rvNir8e2m4DPdE5w?= =?us-ascii?Q?kvZSU8lm/STXKlO6bwHKkS0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Q?KuLDo/HwEHwWzB5Ia1vbNMwSQ+Zw8jLnWIMAYxkNiWzNv1tF2gUhndnEOQQf?= =?us-ascii?Q?Z7FmvHc4uPJJpZjS9r09bdsD6O2fbOdSObKdT2gUKaN+nmnDD7XOtEEQ+tv5?= =?us-ascii?Q?8lEKGAiyZAwIZwx+5/4FpEAgc+xVY1QGvevP+6ZS1eZh1Ie3sFEXxin9bGoX?= =?us-ascii?Q?5lce8IZC6JweswvyKMnRlAtop9Ftduqt1yKRZYzfGFp3ZBU6zSY1rhKTAWmR?= =?us-ascii?Q?R2VbXwSW33Wegge1H8s=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: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bf94da7-5a98-4e52-4e3d-08daf4ba3477 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2023 16:29:40.7086 (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: EMfdqzqE6yggKNps1cgqBWjSBmXXDxaHvnUeewWM3LyUj/i9PEBSTsNbKYKLS9+t46GgYTG5KbX467C6B9PiYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB5085 X-Proofpoint-GUID: trCUd0IFRACdcCdsKDXr-PguOJcNTXUd X-Proofpoint-ORIG-GUID: trCUd0IFRACdcCdsKDXr-PguOJcNTXUd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_08,2023-01-12_01,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 > -----Original Message----- > From: Ankur Dwivedi > Sent: Thursday, January 12, 2023 4:52 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; david.marchand@redhat.com; mdr@ashroe.eu; > orika@nvidia.com; ferruh.yigit@amd.com; chas3@att.com; > humin29@huawei.com; linville@tuxdriver.com; ciara.loftus@intel.com; > qi.z.zhang@intel.com; mw@semihalf.com; mk@semihalf.com; > shaibran@amazon.com; evgenys@amazon.com; igorch@amazon.com; > chandu@amd.com; Igor Russkikh ; > shepard.siegel@atomicrules.com; ed.czeck@atomicrules.com; > john.miller@atomicrules.com; ajit.khaparde@broadcom.com; > somnath.kotur@broadcom.com; Jerin Jacob Kollanukkaran > ; Maciej Czekaj [C] ; Shijith > Thotton ; Srisivasubramanian Srinivasan > ; Harman Kalra ; > rahul.lakkireddy@chelsio.com; johndale@cisco.com; hyonkim@cisco.com; > liudongdong3@huawei.com; yisen.zhuang@huawei.com; > xuanziyang2@huawei.com; cloud.wangxiaoyun@huawei.com; > zhouguoyang@huawei.com; simei.su@intel.com; wenjun1.wu@intel.com; > qiming.yang@intel.com; Yuying.Zhang@intel.com; beilei.xing@intel.com; > xiao.w.wang@intel.com; jingjing.wu@intel.com; junfeng.guo@intel.com; > rosen.xu@intel.com; Nithin Kumar Dabilpuram > ; Kiran Kumar Kokkilagadda > ; Sunil Kumar Kori ; Satha > Koteswara Rao Kottidi ; Liron Himi > ; zr@semihalf.com; Radha Chintakuntla > ; Veerasenareddy Burru ; > Sathesh B Edara ; matan@nvidia.com; > viacheslavo@nvidia.com; longli@microsoft.com; spinler@cesnet.cz; > chaoyong.he@corigine.com; niklas.soderlund@corigine.com; > hemant.agrawal@nxp.com; sachin.saxena@oss.nxp.com; g.singh@nxp.com; > apeksha.gupta@nxp.com; sachin.saxena@nxp.com; aboyer@pensando.io; > Rasesh Mody ; Shahed Shaikh > ; Devendra Singh Rawat > ; andrew.rybchenko@oktetlabs.ru; > jiawenwu@trustnetic.com; jianwang@trustnetic.com; > jbehrens@vmware.com; maxime.coquelin@redhat.com; > chenbo.xia@intel.com; steven.webster@windriver.com; > matt.peters@windriver.com; bruce.richardson@intel.com; > mtetsuyah@gmail.com; grive@u256.net; jasvinder.singh@intel.com; > cristian.dumitrescu@intel.com; jgrajcia@cisco.com; > mb@smartsharesystems.com; Ankur Dwivedi > Subject: [PATCH v5 1/6] eal: trace: add trace point emit for blob >=20 > Adds a trace point emit function for emitting a blob. The maximum blob > bytes which can be captured is maximum value contained in uint16_t, which > is 65535. >=20 > Also adds test case for emit array tracepoint function. >=20 > Signed-off-by: Ankur Dwivedi > --- > app/test/test_trace.c | 5 +++++ > lib/eal/common/eal_common_trace_points.c | 2 ++ > lib/eal/include/rte_eal_trace.h | 6 ++++++ > lib/eal/include/rte_trace_point.h | 17 +++++++++++++++++ > lib/eal/include/rte_trace_point_register.h | 7 +++++++ > lib/eal/version.map | 3 +++ > 6 files changed, 40 insertions(+) >=20 > diff --git a/app/test/test_trace.c b/app/test/test_trace.c index > 6bedf14024..cf781dc25b 100644 > --- a/app/test/test_trace.c > +++ b/app/test/test_trace.c > @@ -4,6 +4,7 @@ >=20 > #include > #include > +#include > #include >=20 > #include "test.h" > @@ -177,6 +178,7 @@ test_fp_trace_points(void) static int > test_generic_trace_points(void) > { > + uint8_t arr[32] =3D {0}; > int tmp; >=20 > rte_eal_trace_generic_void(); > @@ -195,6 +197,9 @@ test_generic_trace_points(void) > rte_eal_trace_generic_ptr(&tmp); > rte_eal_trace_generic_str("my string"); > rte_eal_trace_generic_size_t(sizeof(void *)); > + rte_eal_trace_generic_blob(arr, 17); Do we need this test case now as (rte_rand % 32) will make sure to validate= array of valid size only i.e. 0-31 ? > + rte_eal_trace_generic_blob(arr, 32); > + rte_eal_trace_generic_blob(arr, rte_rand() % 32); When executed trace_autotest then I didn't find 3rd generic.blob trace poin= t. Can you please explain the behavior ? > RTE_EAL_TRACE_GENERIC_FUNC; >=20 > return TEST_SUCCESS; > diff --git a/lib/eal/common/eal_common_trace_points.c > b/lib/eal/common/eal_common_trace_points.c > index 0b0b254615..051f89809c 100644 > --- a/lib/eal/common/eal_common_trace_points.c > +++ b/lib/eal/common/eal_common_trace_points.c > @@ -40,6 +40,8 @@ > RTE_TRACE_POINT_REGISTER(rte_eal_trace_generic_size_t, > lib.eal.generic.size_t) > RTE_TRACE_POINT_REGISTER(rte_eal_trace_generic_func, > lib.eal.generic.func) > +RTE_TRACE_POINT_REGISTER(rte_eal_trace_generic_blob, > + lib.eal.generic.blob) >=20 > RTE_TRACE_POINT_REGISTER(rte_eal_trace_alarm_set, > lib.eal.alarm.set) > diff --git a/lib/eal/include/rte_eal_trace.h b/lib/eal/include/rte_eal_tr= ace.h > index 5ef4398230..02e3a564a1 100644 > --- a/lib/eal/include/rte_eal_trace.h > +++ b/lib/eal/include/rte_eal_trace.h > @@ -143,6 +143,12 @@ RTE_TRACE_POINT( > rte_trace_point_emit_string(func); > ) >=20 > +RTE_TRACE_POINT( > + rte_eal_trace_generic_blob, > + RTE_TRACE_POINT_ARGS(void *in, uint16_t len), > + rte_trace_point_emit_blob(in, len); > +) > + > #define RTE_EAL_TRACE_GENERIC_FUNC > rte_eal_trace_generic_func(__func__) >=20 > /* Interrupt */ > diff --git a/lib/eal/include/rte_trace_point.h > b/lib/eal/include/rte_trace_point.h > index 0f8700974f..21b6bf7bf6 100644 > --- a/lib/eal/include/rte_trace_point.h > +++ b/lib/eal/include/rte_trace_point.h > @@ -144,6 +144,8 @@ _tp _args \ > #define rte_trace_point_emit_ptr(val) > /** Tracepoint function payload for string datatype */ #define > rte_trace_point_emit_string(val) > +/** Tracepoint function payload for char array */ #define > +rte_trace_point_emit_blob(val, len) >=20 > #endif /* __DOXYGEN__ */ >=20 > @@ -374,12 +376,27 @@ do { \ > mem =3D RTE_PTR_ADD(mem, > __RTE_TRACE_EMIT_STRING_LEN_MAX); \ } while (0) >=20 > +#define rte_trace_point_emit_blob(in, len) \ do { \ > + if (unlikely(in =3D=3D NULL)) \ > + return; \ > + __rte_trace_point_emit(len, uint16_t); \ Just to confirm that is there any typo meaning "in should be used in place = of len here" ? > + memcpy(mem, in, len); \ > + mem =3D RTE_PTR_ADD(mem, len); \ Also rte_trace_point_emit copies and increment the memory pointer itself. T= hen what is the purpose of above 2 instructions ? > +} while (0) > + > #else >=20 > #define __rte_trace_point_emit_header_generic(t) RTE_SET_USED(t) > #define __rte_trace_point_emit_header_fp(t) RTE_SET_USED(t) #define > __rte_trace_point_emit(in, type) RTE_SET_USED(in) #define > rte_trace_point_emit_string(in) RTE_SET_USED(in) > +#define rte_trace_point_emit_blob(in, len) \ do { \ > + RTE_SET_USED(in); \ > + RTE_SET_USED(len); \ > +} while (0) > + >=20 > #endif /* ALLOW_EXPERIMENTAL_API */ > #endif /* _RTE_TRACE_POINT_REGISTER_H_ */ diff --git > a/lib/eal/include/rte_trace_point_register.h > b/lib/eal/include/rte_trace_point_register.h > index a32f4d731b..a54f9769da 100644 > --- a/lib/eal/include/rte_trace_point_register.h > +++ b/lib/eal/include/rte_trace_point_register.h > @@ -47,6 +47,13 @@ do { \ > RTE_STR(in)"[32]", "string_bounded_t"); \ } while (0) >=20 > +#define rte_trace_point_emit_blob(in, len) \ do { \ > + RTE_SET_USED(in); \ > + __rte_trace_point_emit(len, uint16_t); \ > + __rte_trace_point_emit_field(len, RTE_STR(in)"["#len"]", > +RTE_STR(uint8_t)); \ } while (0) > + > #ifdef __cplusplus > } > #endif > diff --git a/lib/eal/version.map b/lib/eal/version.map index > 7ad12a7dc9..67be24686a 100644 > --- a/lib/eal/version.map > +++ b/lib/eal/version.map > @@ -440,6 +440,9 @@ EXPERIMENTAL { > rte_thread_detach; > rte_thread_equal; > rte_thread_join; > + > + # added in 23.03 > + __rte_eal_trace_generic_blob; > }; >=20 > INTERNAL { > -- > 2.25.1