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 86360424BD; Mon, 30 Jan 2023 08:33:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1140140EDE; Mon, 30 Jan 2023 08:33:59 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 720FA40C35 for ; Mon, 30 Jan 2023 08:33:57 +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 30TMx51Y031052; Sun, 29 Jan 2023 23:31:11 -0800 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nd442fu7j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 29 Jan 2023 23:31:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hPiqrLMK3Glv2b/qd7sipOm1ciwYP4StyFqPGkoatZ8B6fnnYChvSLLEARNi6cHUALL6Dg6iwdBSWyrQRhu0cWBF/9GGVgMrpItMgd1eGlCKcTk94d0qEeENEXe8yheSGV5cw90qK2YRLh45JXtxUge3cFVsYK4KE8B7Tsmg/VYRhtBHml6E/FCOUnnQmkDgM4/gAoFlaTLD8X/juDIwMzzUOgXWv61SHAuZdu2mTIBTnj8+HS6QWmZ4wHkz5ziXUVImZJLfH9d6vetDwYBu61hVmIwhriRC3QzyYdLI65P3RNGL2QjNuSYhkwX0ueFSwGDaw0lQH5bRusFf/oSnpQ== 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=RnyQenp/yrXtKZ1oEYbmByxs9DYneDGHMGkBZhTTqt4=; b=mXDZDixmCPXQPPnmfH2rWlCc21qRNc95/sjPVKReJkbQJ5Lk1Pf6zkCVMFGxxBCq9PijjNDg8huETu8t5mQrY/mRXY+CPc3WGZ2mPRlL5CW/akY7lU456fjmTdpjm0/1qlACLD7Ku4MAuVb6IN5aziu1/RpycmDH9y1nJW7aI94lHy4zFJKhcjDwa9jlGqXRu6frc2nC0y2eG5SHEvZ/ToBtukt4NKSZM+wFDVvx/7KWc3mCDPKFtcLOUYt4hmu/MoRQGcZSZDfisybre2xFxIV5BEsEVL1p2ODpMb7BE99acaCLf7XTG7XZNqppr3SO2Gd39MMQ0kG56QwBSQ137w== 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=RnyQenp/yrXtKZ1oEYbmByxs9DYneDGHMGkBZhTTqt4=; b=EKxcHjKtIWrjIjiGiuMMsvW8MTotdNQSLbIv1oyEe0ExqYCYqOsQIkewSSZKp+7D9qwnk5i2rC32++MilX4E3S6CxipOr75PAw0qYI0/HA3MkJ6T0wqIGiHvPhsELrsXaI+FmfFBtQ6SGiOuoUrQw8f3z49j8FWOK30BHycQGaA= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by SN7PR18MB3872.namprd18.prod.outlook.com (2603:10b6:806:10d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 07:30:59 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::d1c2:6899:2fe9:faf6]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::d1c2:6899:2fe9:faf6%9]) with mapi id 15.20.6043.036; Mon, 30 Jan 2023 07:30:59 +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 v7 1/6] eal: trace: add trace point emit for blob Thread-Topic: [PATCH v7 1/6] eal: trace: add trace point emit for blob Thread-Index: AQHZLwmYccvEhrBEYEGF1HqKr/wqgK62l8Rw Date: Mon, 30 Jan 2023 07:30:58 +0000 Message-ID: References: <20230120084059.2926575-1-adwivedi@marvell.com> <20230123090229.3392071-1-adwivedi@marvell.com> <20230123090229.3392071-2-adwivedi@marvell.com> In-Reply-To: <20230123090229.3392071-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?ZTM1Ylxtc2dzXG1zZy0wMjkwNTI1NC1hMDcwLTExZWQtYjZjMS05NGU2Zjc5?= =?us-ascii?Q?MjY4OTBcYW1lLXRlc3RcMDI5MDUyNTUtYTA3MC0xMWVkLWI2YzEtOTRlNmY3?= =?us-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iQUJmQUhRQVpRQnlBRzBBYVFCdUFIVUFjd0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21ldGE+ x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|SN7PR18MB3872:EE_ x-ms-office365-filtering-correlation-id: e7475af9-b578-40b4-d71a-08db0293eea7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9b+wNm3xIQwelbaP4meIujOLK6w22Huc71kZ+bOmczVt3nWYYoQVVtWXRqQSAl+X6UlpbNpMLLpFVeRO8azGGmKqoH65kfYs3mP8EMLsxfBhvyy5akYtt2f3h6a9At+SldRjOq0gclboG8B4oL5SCwWJGRwxYdzqhIuiS8wH4/Wo6soGs47KtIFwzNalaGSG7McOssQDnC47UVzqd7TWnFAmaVeaF2odQZZekgb12DTUk2jlCNcCutwNTU3gZLx0ORUYOQFQghS+FWTO7EfuyYO5n+hsinWuDCvkEojiMi17Ip8NlQ+cS7cv3O0vsqfCeLkyk+JjnijMHSlaH5mJeWa2NteCqxzOdaCFmI4NsLiyO4XZPHm8ukRtMKvHvWn6IUcS/jTazd+QnaHbQSOXw5M0AmLpyNINB7wvmaqRaEpyo/Avb7gERn03dgY5Yer8ZC0aNtkNWSfbzXIkiPPNY6XOEUQRmLIFt41Cky1v1nO8EBqLuJ7XRaAOpoI1OQCihL0JcQWazOO6DuH9pDjOyXdSjv0naw8dtF+fOn7nEls8JnkHoxJmS6VnmfO4lzOCiMqgaAtQYq69+3/9+0fiouuMAvHN9Xpxaiy54j7AXVzxg5JfbYEYkLtGf096uNOLq0u2Yja0r+1p35PZpKRvXG2wrsZAoNjGrWAeusG/p4Mb9V2PmljHshkj1VZNGiatfn0XptftKaZB4y5snyDPmA== 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:(13230025)(4636009)(346002)(136003)(396003)(39860400002)(376002)(366004)(451199018)(2906002)(52536014)(5660300002)(7406005)(7366002)(38070700005)(86362001)(7416002)(83380400001)(8936002)(41300700001)(71200400001)(478600001)(26005)(9686003)(53546011)(7696005)(186003)(6506007)(107886003)(55016003)(33656002)(110136005)(66946007)(38100700002)(66556008)(66476007)(66446008)(64756008)(4326008)(8676002)(76116006)(54906003)(122000001)(316002)(45080400002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xm66+1WQId8NKq7Y9ng5h1yGEXjgNA5nk13ALoZUugr5qrOUIyNfH4nJP9xS?= =?us-ascii?Q?RbrdODFl9DKU/CfLP+AiG9uSTRp2XBhcnPdEq7ZZ75/r7QQzYCcUFx+UemdQ?= =?us-ascii?Q?NNTDWWHwDCHH5wAaNoMo6U5ye5APQ13bOhVo2xFm6SOoTt2uRZUuhFbRIEwj?= =?us-ascii?Q?NtCQYi7Ll4TLYDz/unMiHqi8cbVJ0CnUcLZvrCJWHTLpRVHNhM9510QH3wk8?= =?us-ascii?Q?ldxHL+MDgFzF8GXHpdjxWO/yZLMrrdz3Ui/W7dIWmIUGoR5XaZmUiKIQL9C3?= =?us-ascii?Q?ARg5vDfFF/Rm617rgI5S750JjLAD+T3SSHdbigTUZRjDu3czNS/a9U3uPFsv?= =?us-ascii?Q?K7eYASsFucjmRC3Rnqc2Fj11xEIbWr2GLaJZM5XPUOLtTGelFKc3jsBuGcGm?= =?us-ascii?Q?NG3ax/CwmZyq5wc0th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aQvYPtVkIADdRBh85CBx/?= =?us-ascii?Q?CNT2VotnB5FaSW5MPvq/M/2b4YtKskUyIWTKdIwZHHsISudzutnvOuJz7OCd?= =?us-ascii?Q?XtfzP2/wmLZUNINMAlXB5dsBoTVEPjWBnnPkk580b4pZU8jd5/v/unR1Jj4/?= =?us-ascii?Q?Uh5UjyMJdKwJR/ojMEDGL6ur4BHC7VMQQ42+D53bzNPiHAxch51Ad6kIqrIt?= =?us-ascii?Q?LN+yFtLJj+qADpN9oBHpYB/JjAQt8etEmzMjk9p0UFk3OnzJr2GwCBU63zMn?= =?us-ascii?Q?Axu+McHy3OpxEksTAdxU9YzVvHhMtf5x3K0bUHLp?= 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: e7475af9-b578-40b4-d71a-08db0293eea7 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2023 07:30:59.0013 (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: JBH5xGJWN8G+WT1lt7Lpd7oD6/JyGh4MZ4J6He/qBMYoZXh8Mjn2tRaedl/eJz/YRS3WSdhxSFLvMt65POReqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR18MB3872 X-Proofpoint-GUID: JLSeWASUt23J9NZlQ09Nkmgx-ioTJsGf X-Proofpoint-ORIG-GUID: JLSeWASUt23J9NZlQ09Nkmgx-ioTJsGf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_06,2023-01-27_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: Monday, January 23, 2023 2:32 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 v7 1/6] eal: trace: add trace point emit for blob >=20 > Adds a trace point emit function for capturing a blob. The blob captures = the > length passed by the application followed by the array. >=20 > The maximum blob bytes which can be captured is bounded by > RTE_TRACE_BLOB_LEN_MAX macro. The value for max blob length macro is > 64 bytes. If the length is less than 64 the remaining trailing bytes are = set to > zero. >=20 > This patch also adds test case for emit blob tracepoint function. >=20 > Signed-off-by: Ankur Dwivedi > --- > app/test/test_trace.c | 11 ++++++++ > doc/guides/prog_guide/trace_lib.rst | 12 +++++++++ > lib/eal/common/eal_common_trace_points.c | 2 ++ > lib/eal/include/rte_eal_trace.h | 6 +++++ > lib/eal/include/rte_trace_point.h | 31 ++++++++++++++++++++++ > lib/eal/include/rte_trace_point_register.h | 9 +++++++ > lib/eal/version.map | 3 +++ > 7 files changed, 74 insertions(+) >=20 Acked-by: Sunil Kumar Kori > diff --git a/app/test/test_trace.c b/app/test/test_trace.c index > 6bedf14024..ad4a394a29 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,7 +178,12 @@ test_fp_trace_points(void) static int > test_generic_trace_points(void) > { > + uint8_t arr[RTE_TRACE_BLOB_LEN_MAX]; > int tmp; > + int i; > + > + for (i =3D 0; i < RTE_TRACE_BLOB_LEN_MAX; i++) > + arr[i] =3D i; >=20 > rte_eal_trace_generic_void(); > rte_eal_trace_generic_u64(0x10000000000000); > @@ -195,6 +201,11 @@ 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, 0); > + rte_eal_trace_generic_blob(arr, 17); > + rte_eal_trace_generic_blob(arr, RTE_TRACE_BLOB_LEN_MAX); > + rte_eal_trace_generic_blob(arr, rte_rand() % > + RTE_TRACE_BLOB_LEN_MAX); > RTE_EAL_TRACE_GENERIC_FUNC; >=20 > return TEST_SUCCESS; > diff --git a/doc/guides/prog_guide/trace_lib.rst > b/doc/guides/prog_guide/trace_lib.rst > index 9a8f38073d..3e0ea5835c 100644 > --- a/doc/guides/prog_guide/trace_lib.rst > +++ b/doc/guides/prog_guide/trace_lib.rst > @@ -352,3 +352,15 @@ event ID. > The ``packet.header`` and ``packet.context`` will be written in the slow= path > at the time of trace memory creation. The ``trace.header`` and trace payl= oad > will be emitted when the tracepoint function is invoked. > + > +Limitations > +----------- > + > +- The ``rte_trace_point_emit_blob()`` function can capture a maximum > +blob of > + length ``RTE_TRACE_BLOB_LEN_MAX`` bytes. The application can call > + ``rte_trace_point_emit_blob()`` multiple times with length less than > +or equal to > + ``RTE_TRACE_BLOB_LEN_MAX``, if it needs to capture more than > +``RTE_TRACE_BLOB_LEN_MAX`` > + bytes. > +- If the length passed to the ``rte_trace_point_emit_blob()`` is less > +than > + ``RTE_TRACE_BLOB_LEN_MAX``, then the trailing > +``(RTE_TRACE_BLOB_LEN_MAX - len)`` > + bytes in the trace are set to zero. > 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..e0b836eb2f 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, uint8_t len), > + rte_trace_point_emit_blob(in, len); > +) > + As per documentation rte_eal_trace_generic_blob() will emit 64 bytes only i= .e. input array cannot be other than uint8_t. So will it not be better to make it more readable like RTE_TRACE_POINT_ARGS= (uint8_t *in, uint8_t len) instead of using void *in. Rest is fine. Already acked above.=20 > #define RTE_EAL_TRACE_GENERIC_FUNC > rte_eal_trace_generic_func(__func__) >=20 > /* Interrupt */ [snipped] > 2.25.1