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 89A844601A; Mon, 20 Jan 2025 19:44:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78C00402AC; Mon, 20 Jan 2025 19:44:23 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id 93E7D4027A for ; Mon, 20 Jan 2025 19:44:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737398662; x=1768934662; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=QSe2t8Fwg04jp4bOYKuIw/H9I57FrBde/7+IVyVtW4M=; b=SFM9dWZi1b6F07SwYfaevchTRpnPRzaL+edKYvI/WZT+kpsU+dTGFyjQ ixa4NckRI4/GupRTUtKJ0CcQe0VtZnceiorxTlMBS4X3wIe07cJgLwX47 YFyBaO8+TLCYeNIP9b1GC3Fj7CHRoAKgJbjY6uUP+oPLmnBO0vnShQ63/ /MyQkF5nlIU8pHfRtvci8zyarZBLmq1JMFD14LldYlFCQOIciTeDOArUv tczn+dtQRDNjamQrPSCxK0bytYqquiOTF7n2dsLOYZnlYVFFGuXBlJF8g kQLkA41xY+30rS+V0ShHWrCx7rwImcd2/I1B2LKaxZwdB6+G2gq621aHd A==; X-CSE-ConnectionGUID: jWHPrMgPSx+Sv3Mif/IhNQ== X-CSE-MsgGUID: 1DIQYPZ0RWmTyIHsCYZgKg== X-IronPort-AV: E=McAfee;i="6700,10204,11321"; a="38047272" X-IronPort-AV: E=Sophos;i="6.13,219,1732608000"; d="scan'208";a="38047272" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2025 10:44:20 -0800 X-CSE-ConnectionGUID: ZEVYD03ySSmsgo/ALBACCw== X-CSE-MsgGUID: yeLrvqG6RRCJwdriT28cCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="107502254" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 20 Jan 2025 10:44:19 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Mon, 20 Jan 2025 10:44:19 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Mon, 20 Jan 2025 10:44:19 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Mon, 20 Jan 2025 10:44:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lafJm3eRHAyyqMrVeTZRlj1IfcAOP0B2dZMQuLL2sMy4JUCuQHLBs0PRqdvzzC3srXc0nOn2FqD4Y6ad6kVg6Eb3ix5NJQE90sw5VaOi1Htiow3Xhli62oaCiNJJhzVwWt03nUzzX9cg5IPAgKjxhKDQU+TbTYaStQQa5TTR2N17XNsyR0zAwBng8yfvZF3Rlrl6ddMOIVmi2w2Hw4ME8+YsRbOw1CQllHq+QIfnAhbNmsq77vaebe25OL41Jy1FZQjZj3dXuK1omPeI1ccvRhwM2K/FGOQQytbudBSq2MM7v7bIX2sO1rIw8LfQTf3WkSegaDH/Sqjk8fjB/vWMyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=I29XrmdFZil5t7r6X15DfCjXmBsa+9zVi91dSljlj8s=; b=vJMXecjRJpG4Kth/xczrMBgPWetPuVW/P8ByHeRB+ecTI5TdJqCt1M9u02sZJ+GIw8tRuwEIFHFc52s+rxQiM9nMwrAJIaKxRtEMtzZoaewaBjOc71XOfjcDukdyxBDPIMU8hT+JGxwJtLstQPLB2fylylI7Hx7dLwHaxiO65O4uflVZirBZupvp450UuNosphPLEfvOH43O6mPkHpXIw9ZiLu9AKqNSuLBydw78NUgJzzCJPd2wcZHsd+KgajPnOYYdOrIsMF3P9zn3ytFvq0ixqD1KsRAZ4QODMnlgmPP9SMz0xDOCTu9mb6nVtDqJR3omP6RZuPpwSX5LcITk1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CY8PR11MB6987.namprd11.prod.outlook.com (2603:10b6:930:55::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.21; Mon, 20 Jan 2025 18:43:51 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%5]) with mapi id 15.20.8356.020; Mon, 20 Jan 2025 18:43:51 +0000 Date: Mon, 20 Jan 2025 18:43:45 +0000 From: Bruce Richardson To: Stephen Hemminger CC: Subject: Re: [PATCH 14/15] telemetry: add allocation function attributes Message-ID: References: <20250120180550.198121-1-stephen@networkplumber.org> <20250120180550.198121-15-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20250120180550.198121-15-stephen@networkplumber.org> X-ClientProxiedBy: MI1P293CA0014.ITAP293.PROD.OUTLOOK.COM (2603:10a6:290:2::17) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CY8PR11MB6987:EE_ X-MS-Office365-Filtering-Correlation-Id: dd15c7c7-3360-4a8d-fa72-08dd398261f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?8iC7Zl7BzxYaiWkg6aTGsr6uiEM/0R7eJ6CbRNG9U3Zmx7eyuTuzO8u7Lu7M?= =?us-ascii?Q?95emGSmkTPWzb/CjGCOvN+rqO7er7uhRKuuDxxDRBZ8zy64D3dZiRpfGacr4?= =?us-ascii?Q?Ma59hBOfFzMdWZCVWiUYeAtfILQ44ZIxLfqXIvDCwOrQ24ZrzpsRHpwfdGoX?= =?us-ascii?Q?QR6DEOVFrPAzMWwa80fhK9f5LsqgNaRWNYyoV1qEy5Mw7+DtO0KqVJ1BEoan?= =?us-ascii?Q?1HerZoVQ6SmaZb98k4woo0NWDKykNfIlOTILY8bVPHbNCt7RPSdCkDURhWXP?= =?us-ascii?Q?3Dz0PyHJHuTnRSLNGFS+kDZQQ/4qjaYrC4CyIJ0h009r1zi75LC3DRAD/U1+?= =?us-ascii?Q?VBnr5nLTIdc7jcFUlGzrmT/Q64MTdbCWNxxZ6z+X92PE6sKl/yAPg7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X5eQqn7KAc/l+glEEjLSTPMML?= =?us-ascii?Q?tXWwuGX5fAWYpBwSpbtx1oXNyH+cmXwZn+VTysQ1+uzcvaCNhxHSdk3eoEBe?= =?us-ascii?Q?RUFvsUEvIgB7Mwg8ABwKulIjskbp?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(7053199007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mpbpDEyfpUYRvg76HaetcEbS152ShbSGqBxxQSQ/2EJW/Dj7jr2YT8nB13HF?= =?us-ascii?Q?r04yD/DFZv2FVPXr5KHNcokSeXALJHxuwtBP7B8YP1HgzrYAmZhxOYogfXuB?= =?us-ascii?Q?/kn571+p19KgAlNOvlVKZzVim3UL58B5Ky4wI6pDGCgQKfY5XQ4eu7zfUQQx?= =?us-ascii?Q?G95nQPb0BT0zCaU33T7kAfdxwnlkUd4Dbbo9Re3VrIbT8tlZc3+2Pq1nZzki?= =?us-ascii?Q?07eh99EYn5KbGtNz3JmRne1CSVsClMfVhfmcSie7j2HIbg5fliz/2HROED3e?= =?us-ascii?Q?7WL2w/Fzey4qwglg8niZSsp99MrTOTUCBw6vZurLV3sq8Tr8oT554FzUn9aL?= =?us-ascii?Q?heLQyr06AG9uK7yoIpZ967MU+Ija0Pxg17j0liXF+Q2xYQpCdqpbXk9Xt+QI?= =?us-ascii?Q?0hvuE3d1/Do+qTIjea4GvNoA4G3VlGPWKxGOKFftIu9ZbQ/hsCpACV+T4O45?= =?us-ascii?Q?PGIjgjR1PZOF7kif2YPo1IZySFsmTDyrLSJa0s3Zbpmm+e3P+XI6CdHG1Jkn?= =?us-ascii?Q?iBROxpJ7EJpLRjeo95ohYiCJVBGFk7jnfcDitZZqa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aBv6AEQwy3LLrcK6AJOPxJ2dPcjvScpBFS6PJqLOPU?= =?us-ascii?Q?0Z/ddBjSfpNAepiI3LkfZkUVUoZ8Cqu/ujD6e1zStSxUPd634wTqYtBa7tk0?= =?us-ascii?Q?W8rh7xWV6UdS6NrhlbGp2yRjO2us/U//SmX4oPN1o8MDcEfn4bo4Uk/HxuFI?= =?us-ascii?Q?ZA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: dd15c7c7-3360-4a8d-fa72-08dd398261f4 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2025 18:43:50.9648 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: esvS2Li2dZgmpXCySLeU9zfDFR04iqj82RBD0j6Eyw2hxLqTNGXZHRehP8q73V7eqELMJ3Q965jI7w9WkPCcwgG7uLNQ64RDnTNDCEbR4Xc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6987 X-OriginatorOrg: intel.com 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 Mon, Jan 20, 2025 at 10:03:32AM -0800, Stephen Hemminger wrote: > Use function attributes to catch cases where telemetry data > is allocated but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- > lib/telemetry/rte_telemetry.h | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) > Acked-by: Bruce Richardson