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 B17B441C35; Wed, 8 Feb 2023 02:17:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DDFD42B8E; Wed, 8 Feb 2023 02:17:17 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2045.outbound.protection.outlook.com [40.107.94.45]) by mails.dpdk.org (Postfix) with ESMTP id 862F7427F2 for ; Wed, 8 Feb 2023 02:17:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IRgpR3JlWL2GaGF1z3JvtzM2YgKgokVzITL/PRtfgrO4yHMi5WQsZDFbGxVGrgwtAVowsA9BgTZ/WnRDpvY44TPFWXf10M1+5lduPpHEGvVGPJYN9g2PotiHzEtmToN7zixc9vu+lbS9paU8o2AQIQbAGMyWQNoGn27bE6LC9cc+cyO4eQkh7tMrPrYVNQV5elOE+cd6ZCttlzwueN3CemASJbnStaoqTCyDttJmNTGIqmns/ztAU1LWrNMlxibOb3caUUY2RYutgz57xCaW+qF8vMuzw9swnvytL1TtbN8c5K8ACGaMp6Z4AClAQCzGRIMtI3gsQlOvChSrGPAqgQ== 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=whXUb9QwIHqynjbrt9LLKfF9WnP5NouGJpAUC+P4AHM=; b=c+HcSjZKWMsQfQW7TskPTyVo4b86X/qLMep+sluASNZdX7WOHlkzu23xWvyi0uR8/VXPHFTmvL7TvS+KMgD0TepoI6SrJhrPQ9kUv5Mcq87QvhQPFL4UMHBbMExnc+b3M4yTn0zmJ7ol5s2Go4QZycW3m5jxv8Ueum37KASJIG2OE+gPi9wTb1CbLyiPJzTmcGHwXCscobMa+YHpsKzsNFVhm1WaLePvGLT6Foeele5RajVEctEmcbiBZWPRNer2Ja1I8o+/yWl9hwxwC/1yMtXcoxTzW7QB5WEDqQyyW2rCrr0FnbRlyhK8jxKCoASLDXo2nZ4mx2q0aMMLUELisA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=whXUb9QwIHqynjbrt9LLKfF9WnP5NouGJpAUC+P4AHM=; b=kTTNihxPhtG/q5n5eFEwd/3qNmLMC1TnbOvzchOqH4IZmZvhLvDAGIaIucwUMviZSRCSQ+P22cKuhoTX3420SYeKbV3/6fk/1K3DFh0zbGW61XymOWTy5gUuuuwZhP+vczhfa3WqKxmlMDLVqbb+NegxtqBye4kHoAMEnep1aXs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BL0PR12MB4897.namprd12.prod.outlook.com (2603:10b6:208:17e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36; Wed, 8 Feb 2023 01:17:13 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.6064.034; Wed, 8 Feb 2023 01:17:12 +0000 Message-ID: <4cde3d7c-1292-106e-527f-f2c48fa32303@amd.com> Date: Wed, 8 Feb 2023 01:16:56 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: Ankur Dwivedi , dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, mdr@ashroe.eu, orika@nvidia.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, irusskikh@marvell.com, shepard.siegel@atomicrules.com, ed.czeck@atomicrules.com, john.miller@atomicrules.com, ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com, jerinj@marvell.com, mczekaj@marvell.com, sthotton@marvell.com, srinivasan@marvell.com, hkalra@marvell.com, 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, ndabilpuram@marvell.com, kirankumark@marvell.com, skori@marvell.com, skoteshwar@marvell.com, lironh@marvell.com, zr@semihalf.com, radhac@marvell.com, vburru@marvell.com, sedara@marvell.com, 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, rmody@marvell.com, shshaikh@marvell.com, dsinghrawat@marvell.com, 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 References: <20230206115810.308574-1-adwivedi@marvell.com> <20230207063254.401538-1-adwivedi@marvell.com> <20230207063254.401538-2-adwivedi@marvell.com> From: Ferruh Yigit Subject: Re: [PATCH v9 1/6] eal: trace: add trace point emit for blob In-Reply-To: <20230207063254.401538-2-adwivedi@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO6P123CA0030.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:313::10) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BL0PR12MB4897:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c73be31-df7b-47c6-b768-08db097234c1 X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ByFA67V9kZxpVfWC6N+3YXgf9TUz2gjY7C9Ab8XK/4S+OangFx8ZPeA3ujfprGhJM1P01XHxHUo/ykuKUej+pZ7mCSQTfCgJj7As7jmLCezXBX6EHDcJeVbKVJShOf0UHwePni5NZvBaf4TfBqSWH9JHej8FMiA38hThYRw9EYlzBQuwj0+91/w+jvFYY2CrreUSfV/Se23cmUchzEZwfcpBfT3BroHVXqa0MRvH5S0cYOYbFOdltHkMD0x3Qz/D0wCKHtS90yMsrzFWeVSlperTwCJ4Zi93Nf9cnYmIlFA9DYt31OKRgi50SKCqJz9kSoY8UNDBGp9BC1KoRZlypW0SmJa+q0PZ6kJ1/KCaK0AzV78t5ahXYVlrGdmXNdcpseNdPsOZSLVQ4Sf1tJiINZPUxnY2Git1CsX9rh/E2k/5p24XBKt0iGwxF7YM+0QWX/OqfwGgdxy+flPxJqoX1XQWZpHLb8e2lbyV1BBOScysioGUxDRvbibvkZ1OqNcHRU2vS7eOFh5XrIzgsu2e6c/UA65oBPMW6kk3fUH72YNGYOEBpi05WOC1AzcNXhMXdt3IzIufYhQm0jZe1XF2GvA/zk+l2mq5X2Hs8anrcK6cth5keqIy11lZpWcXm6IYKVJFCiEFjdn0BYnAfqLuRylCWEwbK5OOfX+ZG95yjK+N26IsBSUS0wVoXSQi7DeskpqXwoJv3a4HRxMfgk+o1QNIoJPCJQRrYfrMoou3P7w= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(39860400002)(396003)(346002)(136003)(366004)(451199018)(4326008)(8676002)(6512007)(31696002)(186003)(26005)(316002)(44832011)(7336002)(7406005)(4744005)(7366002)(31686004)(7416002)(86362001)(36756003)(5660300002)(2906002)(41300700001)(8936002)(38100700002)(53546011)(6506007)(6666004)(6486002)(478600001)(66946007)(66556008)(2616005)(66476007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZTgrZ1I1bTh0TVREYVhKd3FQMzU5RmJBNWxOUUlTMWRZczRNV0VSSm1LLzYr?= =?utf-8?B?N2ZCY1V4dE12SklJT28rVnhuMFdxbHZRbTE3bXUyMWlkR1BzT1YzSUdpbTlF?= =?utf-8?B?aVRxM2prZHRnVytDdjFqQ3ZIbFVtMm9LMVhOcW1ycEs4aWRxSnVRV3RFTGJl?= =?utf-8?B?UnpmeWQwVkJMRFAyRWNCRTlvSEYyNldXRjBUL0ZYRkxrSFU5bmVyTk45OXRS?= =?utf-8?B?a1dVV3NxOFV0T2VLK3Fj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PNHdpMFVo?= =?utf-8?B?SDlkZ2Z3VzlEZ1p0RVQvV1dzclZzWHRpSno4WERQeFZveExhYzUydjJ4Wk5s?= =?utf-8?Q?XHvDc8abeuN4I1DCX17sukjkU?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c73be31-df7b-47c6-b768-08db097234c1 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 01:17:12.4884 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CODzF8pCnbzg6sK/mM+EUGCacaV/r+y60+wTH/E12aep+nE/t6Fhyg+tBxmkoOGR X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4897 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 On 2/7/2023 6:32 AM, Ankur Dwivedi wrote: > Adds a trace point emit function for capturing a blob. The blob > captures the length passed by the application followed by the array. > > 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. > > This patch also adds test case for emit blob tracepoint function. > > Signed-off-by: Ankur Dwivedi > Acked-by: Morten Brørup > Acked-by: Sunil Kumar Kori > Acked-by: Jerin Jacob Acked-by: Ferruh Yigit