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 2967B456F4; Tue, 30 Jul 2024 14:04:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A04240611; Tue, 30 Jul 2024 14:04:10 +0200 (CEST) Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013012.outbound.protection.outlook.com [52.101.67.12]) by mails.dpdk.org (Postfix) with ESMTP id 3E1C3400D7 for ; Tue, 30 Jul 2024 13:03:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iZRa3n1y7cnJUj49zMjH6CIXQSAxw3VI2KgoGvke/1AxUVnW+Up4FrcJbhtwXP556CV5eI2KFbvdkEhRHTzflRdrsBTmBSB+u54PQFtQTJTSMiu2reZ+D0SdHhA97sldxzzWRky3dUjDJ9/Y5U/5UacD+LgJ0gcQayYspijez1HVnnSI09FzkEjzt62c+pv0Wtvs+9I1CZXLqGiX8OeWCglNbrZvYWqS9TbhaRDKNiPd14ff+h1/Usbbw7r03cqo6lRZ3XUi3H1n/17DJ9Rk8+j3SKMBz/OFw7+UeGubkBe3qegGmVCD9rkHj4ohPAaHJXqTGUrE2hr5xw2eZId62A== 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=Hy3qx9R/H5I4WcuVbqtxaxZyELYO5+/M/L20Yb/114w=; b=lqXEaKonBzQRwSVae940MYLUxgHcFuUqV65OjxsEq2doRungFdjgOCOWrUtf5crxi9cpmGkK16laAZ3+SVjWB6BdXuObED5JrwfRl1DTu6bQWmCtuDwrsSlMXi/J1J7PD17SjeC+Noy5tgFBoFpMPg1Op2NoCdw2kmLrTIY4G6Tuvdpk0rna/NVglP49QCm7Y/yZJTTbNToB5wt7Ij3xAO0ULvLgolDyGQKjZQ8whCHjnk05r2ZVYBIPO5hTT29wr1UcCshiamkENFfGN3Tly/0zDHBXWdC+fIYsX4e5KGgdyGBZsNnrQQ7/c48yboOIUXbt75jXMGBe6Cp3W+kvqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hy3qx9R/H5I4WcuVbqtxaxZyELYO5+/M/L20Yb/114w=; b=PntW3sE36mwBUT5zGpuQUuKqfHM8KhsppdjxLLzGEURRF7Cw6LD16slcUvmk8bm6++tlhBIZFod5mf7C/wob32wpW1J7wFbUJTTuZi/BfNNrwUOfx3VNPBZfVXxmfWiYFC7lI7hD9zxGldWcjqd0bd+hWlAe0imYDSU4HgOmiNCttaVwdcp1kvS1XCNJ0un2weWzpfGr0leoZ1MnMcEhGVDiYpKqGKOZogFwLdqMXatw9SPktyHwoPWq6ipAxGfrUSebXOs6H0ZTNesAjqHOxbyDqnG70EpdVlFsezrFdJ6LZYnMCSBsEohIUTV0IW64E8isIkdNB2iEfUDqo26vlw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) by AS5PR04MB10018.eurprd04.prod.outlook.com (2603:10a6:20b:67e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.26; Tue, 30 Jul 2024 11:03:29 +0000 Received: from PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f]) by PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f%7]) with mapi id 15.20.7807.026; Tue, 30 Jul 2024 11:03:29 +0000 From: Gagandeep Singh To: dev@dpdk.org, Reshma Pattan Cc: Hemant Agrawal Subject: [v2 1/2] app/proc-info: add memory heap dump Date: Tue, 30 Jul 2024 16:33:12 +0530 Message-Id: <20240730110313.2555473-2-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240730110313.2555473-1-g.singh@nxp.com> References: <20240702131436.2873832-1-g.singh@nxp.com> <20240730110313.2555473-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0021.apcprd02.prod.outlook.com (2603:1096:4:195::10) To PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8205:EE_|AS5PR04MB10018:EE_ X-MS-Office365-Filtering-Correlation-Id: b01bb08e-2492-4fb3-5937-08dcb0873e5d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?w5dP9LfZi41cFtIKgjsmPlXoahQdMuFNjU95iPuOo+DdJaHimFF6oAd751S/?= =?us-ascii?Q?FOJE2/xvEy4BxgoqHLaOZFacotBnbBHh6M7LBL55udsLCr/GcMZQTZolu9BZ?= =?us-ascii?Q?zSKe6aD2xamYYDX7jIiLEXWwCZ7ZjeA5eLaBOkegxr53DOTgJqzumQ95EpYd?= =?us-ascii?Q?YYlV7JjfiJucl1B84FVV7eFwbBDt6tj7Ltm6FmDyLO5yncpafJpZTKUEy14R?= =?us-ascii?Q?IszKlgLqauhfy+k3Gh/0Ge8/7X9/GNH/aUf3OqsyH08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Q?nvuTbzjB/VpA/4qMm91TXoqllLAAkZcIzS1xW8kx1GXQhpStkhMcxa5ktpM1?= =?us-ascii?Q?3r3b4c+b8LGXtF+me6nTs94FA2obRP5qwb24eZFoN5Rtg4FixlOTPmmy/Gqy?= =?us-ascii?Q?n8/JPgh6NDw5onznPZpvP8RRojJzr7jkuzki87dxBVqiSMWP2YSnPWZDndJf?= =?us-ascii?Q?KnJ+0yq3WvAWw6LwIGp5Iq4Sj+l1q0jGlkMS/fw8lzWRsb3XODUBwAKgYv3W?= =?us-ascii?Q?+VopVohDrmiVW9m2zq0bAwZdnQ4K8KdoiPzmvrk8knaE47iU5g=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8205.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(376014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DKkGHpKRHHKpsJgQuBqtvd8T/XLt/7coVFMCtBmfTQx+2uP8mbCiUUcrn8Zm?= =?us-ascii?Q?fxiW88raopFCNC5OwL1N0/VyRw7go4NHKzfccuoRS4qDSe2kHPSzQG0EtFca?= =?us-ascii?Q?cby0BD1bpmYrzsodIU3qxzUnANiUrpdeT/ZxpG/ekC5QPZc1P7z9959PNuSA?= =?us-ascii?Q?/V/per8GCmAQwaMQQymDlus/hlOTCGTIPGYmz93W5EaM5GYzmBUd387P1Bfk?= =?us-ascii?Q?ojfWchYBz4mdbIcloz+VU6UnHmF3GKZCidHztgNgh7H8jl281ADv4waimWLy?= =?us-ascii?Q?8ETGMPpFKbdlx61rQJEXX64zO3ht1SvxVnCDs16inKrmY9x2TzS7TqT8OnDg?= =?us-ascii?Q?kFQFAhli4VxXDT/Wo4k5Ijt1dtyDzQksydZVJhWawU3tOuWbhauLW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sY02jzutU0JfSoXxgtgxJ0i?= =?us-ascii?Q?lZJHiqIdsiXGyeW29sxzPBvB9sk2ifWM8AEVTtjaM56QX4kPB2CEvPWqjBzG?= =?us-ascii?Q?2d6wpLOaZ3e9tLCpiim2MEHcsupigG7YIU6WH9oilraCUvtT1t0eh8nvaLPD?= =?us-ascii?Q?Bm7JE4aJUGOXN1q2Rm3cf0vGbHzcpmBVSgQPD/4uavLBUd3nDP249UcyP7ZH?= =?us-ascii?Q?ZNLvTub8OCXQqQ+4XgS4Zkei8oVfDgCB15myTOptRFCPX1JpsrpUdo5TSyKN?= =?us-ascii?Q?fSMOOczUVivFnld2yXA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b01bb08e-2492-4fb3-5937-08dcb0873e5d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8205.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2024 11:03:29.6112 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TiMlPwVk9zpjIANPJpQKt/kGv7Gx+KVAF/QqQkA5TWpdVO7Jg86/NeOE4szWBVJh X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB10018 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 This patch add the malloc heap dump support in proc-info memory dump option. Signed-off-by: Gagandeep Singh Acked-by: Hemant Agrawal --- app/proc-info/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index b672aaefbe..9e26b5cf3b 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -637,6 +638,10 @@ meminfo_display(void) rte_memzone_dump(stdout); printf("---------- END_MEMORY_ZONES -----------\n"); + printf("---------- MALLOC_HEAP_DUMP -----------\n"); + rte_malloc_dump_heaps(stdout); + printf("-------- END_MALLOC_HEAP_DUMP ---------\n"); + printf("------------- TAIL_QUEUES -------------\n"); rte_dump_tailq(stdout); printf("---------- END_TAIL_QUEUES ------------\n"); -- 2.25.1