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 D8382423B8; Thu, 12 Jan 2023 17:46:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C599142D55; Thu, 12 Jan 2023 17:46:00 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 58C0142D4F for ; Thu, 12 Jan 2023 17:45:59 +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 30C9dq15021100; Thu, 12 Jan 2023 08:43:42 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3n1k5712wd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Jan 2023 08:43:42 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZPH5eIbRRvRSPrhuRQxrLTQH00bU225SFSLSFgFH1ImmbCYVA5Nad9aX/2B6TFb1jG7wEWuXHJbtKyueiKbDw4ib8khZeQn7/WnLnaKICUZ5LlekbNblTiNcrfDRbx8Iv8F3L3x2nbfIRsCS+KtVn1ptE5s98mM9WfjWHLQzbCi8Jp8Dpqp8YEumARWRNBLp1tvKpjMM+orYiqsOLLAPuc8GWboEm1ufCjXpr9P4rp/GKfz5mNEUDT19JNkuYgeCZW/KTRrNXygk4Bgk4f6yaM9l3HV9jt9gGGW6ta+d3o1ZKLI1JwPPwz6MAZIJKPflljZ3+U4OQXt0pRCrWIfb2w== 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=3KFy2YRngmfarVwiPVRW6Q2Wl6hLWgEr4DMgo7ckLLo=; b=Fqk8AjYgAFFfdTyUN2Uvaz8rNIzD2bdzJIaDonL8O3DEjyrkgDKCYpF1JJ5/MX1/XEhPirA4EH+2vPNcnQfDzG5kG6fCDtrnbwiL4847hLOIPjv0QvYer12B2terVnPlXinZcGjfAR4CoLFrR7iDgTUV+t/50FgdGwrL38F+x1hjj0R7sX6ffs3u+48ZaP4zEdc3uqxDHY8Ls8jyY9YrOAzePlL5w9GFYHi33UgmeWiG+HW1zwoAxtWzJjvtB+q0SK5vnmxK8hgwvgWLKvcXSIA0PmAaeNi+xEg2tZiCaVcdCsSfM2+5K1rJ7fQkQGZcVOHeDiXw4nyQI/Fdkjblxg== 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=3KFy2YRngmfarVwiPVRW6Q2Wl6hLWgEr4DMgo7ckLLo=; b=PvuBLXjJrKml1R+GBoAzm+BSmwve84SMKcUkK45YTJUP3fYmbizISxu5cjoXCypwMaqL1cJFXT7O0MlRvXEuacXmc/PmLXKDJDh4ExzX1RHTcAIzAPmlDGZk2uApf9AZTxQl8IR+N2pBL/DEIeQ/6b4ZvigKP1glRIAF568jM0g= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by DM4PR18MB4333.namprd18.prod.outlook.com (2603:10b6:5:398::13) 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:43:39 +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:43:39 +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+kQgAAomRA= Date: Thu, 12 Jan 2023 16:43:39 +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: 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?ZTM1Ylxtc2dzXG1zZy0zZWY2NjJiMy05Mjk4LTExZWQtYjZjMS05NGU2Zjc5?= =?us-ascii?Q?MjY4OTBcYW1lLXRlc3RcM2VmNjYyYjUtOTI5OC0xMWVkLWI2YzEtOTRlNmY3?= =?us-ascii?Q?OTI2ODk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QUcwQWFRQnVBSFVBY3dBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQkFBQUFBQUFBQUFJQUFBQUFBQT09Ii8+PC9tZXRhPg== x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|DM4PR18MB4333:EE_ x-ms-office365-filtering-correlation-id: b70af94e-1311-4694-dfd6-08daf4bc2846 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H29nb9afYs3F1I7W38WJwetKAsK4R9mYtcM+/FLDDX+7tqFOovxmG1ncgTca6RV1ubNx0LBUzAHTrF+JIMz0fZzul/lLIwTmkhdUZw3W4FLl/oWax2/NB56enlduiRIyDmPLbky5s4mRCC2eaAjRtq0OyZqt0mtevjlj0TK+fpkCdTm6P1AfoCw0ZKNmKvx7Q7v83a6jfxK8O3MbkRyKr3vJp/XPJcjARVl2s0K9ozoQAFdgz8Q4nnsnnj7IiUHon+w8TmEnlN1EgpfTqHMUqBKfaqx71rJfJ2+KiWaDpKf5JrTnv0CG4PQtgEzklq1AeDV+DoHyviTKEMVUBB9/WjTk5uGIxoi/8bkVUjRVKECPAl9YA/SUKgwESWPEmHTZRJm2N4b7NHAmcR72+jlHtY1LUFkYPbpusHRSrPkD1ICNNjlaY9fKw3hAvN/W9ogaZc8y0NfC09Q646sET6R5Dh/WMQfFgbOrzz7rChe/rgOvlw9VPy4Y4yox2E7Rge7urCCc9KkReBJ5GaT7RfsopASPnpJ0Mgxkcq/OyjixfGSXW3OGbP5Pb3QjxqkDpwCGJvZ+qkpRgO0AQsnPExaiBcPTEiTpubhTgta5JvTvwjiStlQOza5Z1vNVCdfkBrhMWvIPXm8u++9+SpyaRGm53TO0sYfyKTg9FE4RdRWseLuZLhOnVScUDYHuzm0tN9fMBx24oYUJn/U0WuF5afF//g== 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)(39860400002)(136003)(396003)(346002)(366004)(376002)(451199015)(8936002)(478600001)(38100700002)(45080400002)(316002)(54906003)(33656002)(110136005)(55016003)(86362001)(38070700005)(53546011)(83380400001)(107886003)(6506007)(26005)(122000001)(9686003)(2940100002)(7366002)(7406005)(30864003)(5660300002)(66446008)(71200400001)(186003)(76116006)(7696005)(2906002)(66476007)(4326008)(41300700001)(66556008)(8676002)(64756008)(66946007)(52536014)(7416002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8wd3jYHp0zuyX5xRpSwP23MNG0ttQjycseT/iM7022W+2/Mn8+9ldrWMZjPu?= =?us-ascii?Q?Rm1Bhlq4l9YECb6HFEDqxktSjbEHizhhbY/U5ay7ndttb2CuNGCep9fwZ6Ig?= =?us-ascii?Q?i4tdM8fd3GkBTb8tF7OtGyYS7yW58oGNNYYJvrvZuOt0CrUV1D3W2xvWkTAt?= =?us-ascii?Q?RTX3Ua7kWRyGq0RKsPRdfPbh2Yut5Wd7tR8Nk4UF3URwvEmJmj7u4JaDYhdg?= =?us-ascii?Q?foEBAQBBl05HPCinGPkiD/X5he4xpuMekg/JFGko5mJ81aZnxl3wYGY+ogaz?= =?us-ascii?Q?rI8ZXgvtgjLVaP58FfQ6Rhmx+zSn+vzxsoPikWNMxTCjrMn+AZJyZyzX2da4?= =?us-ascii?Q?ptNDvGNYjsGC6v+XDAV+dIyDHiVguIYxo3rS1qHHqydUGkFrFTRDMBXiFXXl?= =?us-ascii?Q?q+RdbN+LFb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BDzf5ryW?= =?us-ascii?Q?ghzQ7risEIkyYRIlz7e2xkd2Obtf0sXgbBIhnLnyP4GtadVtQF9o+gXAcVWS?= =?us-ascii?Q?CEAU6s0QWNSzDzJAGxxRfpbmHgQayse8a3VcHwsna6Ung8nKwe/TNI7EpASa?= =?us-ascii?Q?d5tDF0lTgM8JRm/+hCKpTPRZro4sMrhwj+OgkbDYXNkgW98UsMKIPx7QP4dO?= =?us-ascii?Q?mWi3dEZOiEEi9g7fqMhtbQWUNmyK44TE+ov+tWKGU0pzMtS/mjxBofDKKbqr?= =?us-ascii?Q?7gsgOGjxR7zht+ZtUXE=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: b70af94e-1311-4694-dfd6-08daf4bc2846 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2023 16:43:39.2484 (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: 4auR7dYYU4gEkGFmq+Cla/C72KvSSx6GYQKvIVt8Mp3rZiSI4dr4aoN1u3THrbVfhBGWaRfKOaZsOX7ExxhnAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR18MB4333 X-Proofpoint-ORIG-GUID: V6sfPd8ibPA_nkHirb4XtlZ6OqN2jphh X-Proofpoint-GUID: V6sfPd8ibPA_nkHirb4XtlZ6OqN2jphh 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 One more observation that the size of lib.eal.generic.blob trace point is 3= 1962 bytes. Is this trace point this much big or some bug ? > -----Original Message----- > From: Sunil Kumar Kori > Sent: Thursday, January 12, 2023 10:00 PM > 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 >=20 > > -----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 > > > > 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. > > > > Also adds test case for emit array tracepoint function. > > > > 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(+) > > > > 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 @@ > > > > #include > > #include > > +#include > > #include > > > > #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; > > > > 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 valida= te > array of valid size only i.e. 0-31 ? >=20 > > + 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 po= int. > Can you please explain the behavior ? >=20 > > RTE_EAL_TRACE_GENERIC_FUNC; > > > > 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) > > > > 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_trace.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); > > ) > > > > +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__) > > > > /* 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) > > > > #endif /* __DOXYGEN__ */ > > > > @@ -374,12 +376,27 @@ do { \ > > mem =3D RTE_PTR_ADD(mem, > > __RTE_TRACE_EMIT_STRING_LEN_MAX); \ } while (0) > > > > +#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 plac= e of > len here" ? >=20 > > + memcpy(mem, in, len); \ > > + mem =3D RTE_PTR_ADD(mem, len); \ > Also rte_trace_point_emit copies and increment the memory pointer itself. > Then what is the purpose of above 2 instructions ? >=20 > > +} while (0) > > + > > #else > > > > #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) > > + > > > > #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) > > > > +#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; > > }; > > > > INTERNAL { > > -- > > 2.25.1