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 09D564554D; Tue, 2 Jul 2024 15:14:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDE50402EC; Tue, 2 Jul 2024 15:14:52 +0200 (CEST) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2055.outbound.protection.outlook.com [40.107.103.55]) by mails.dpdk.org (Postfix) with ESMTP id 35E9440698 for ; Tue, 2 Jul 2024 15:14:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYQdlgnH5+PW+A9HvwcM0983hJipS8fn5HyY4NpEucQYdzDeEDvUcvZzEgbBQ+TplAnIkjA2+VGidDN/5ENdOWAwLP8txS7Xccps20SiQIOw+qlCEUp3Pa4QRfhvl5Jlay25sGAXjI+j/vVXwedV+v5IzINgi5dXXhFBCdXLGqne/TsLLaKBnmoRmmmBxVi6+QFf3MmhnuHUhgcg1cXtdXyG9rSzSxPT0n3K68DDKHa71kMG3dQjTNY8T0YcruNYG0LIdf153xaR5QgUrGytzP8v0K6PeVcHxMCfxiccYtXfZrw5s08oLLTaN1N2wwegZmIw01FiHL1kgctUo4dAWw== 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=7z64o39dRlTGrdmQ/eu2QNhYwDPSQnSKm83c+Az3lOc=; b=cn598w/JZo1Px/mg/MGAFQD9/TJ9POgdqwAmQR/hW7BSAGm74uDd2IrezZ9OWlPHfy1qvAeo4TJQXidgwP6TCvyqQzhvYe7Lv5sWq/aa1fC4L2bsrNJmZJTiT5rLO8L+gFxHcoPb+8hw4LD0TJs6QMJZXRYevXVQNmtMm/ZxfI29j3Pzqia5dZFK2isM5snZWQcgBMpCYO5EPR8eWUDBoSOGBvZtbpkyAA5go/7pvXLx+pWKIyMKR8ChxBloLKeh9W1MXUqsPedFW6r0FsdSkuOEooTYOjqKxW8sOkBy8ixNDzBnkTj0SwBP3RaB9JTF6ESgA7LYxnyhOda/sai1vg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7z64o39dRlTGrdmQ/eu2QNhYwDPSQnSKm83c+Az3lOc=; b=dCsMfrEEPIDUbuLUgK+hJJ1Vw5VQoEZbP5UCGfvEM+TvY/tAas7k1uRg8clYzqia7WUYkbN9JGuVi0gMrXaetsIIlMhly5UNZCa2BzeYrcCFqV+xed0e8VUWOQLxfYAkvpZEz0Mzddj/nQuaM1Ng4KHucXChZL76qmhJ+jeFEbA= 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 PAXPR04MB8799.eurprd04.prod.outlook.com (2603:10a6:102:20e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.28; Tue, 2 Jul 2024 13:14:51 +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.7719.029; Tue, 2 Jul 2024 13:14:50 +0000 From: Gagandeep Singh To: dev@dpdk.org, Reshma Pattan Cc: hemant.agrawal@nxp.com Subject: [PATCH 1/2] app/proc-info: add memory heap dump Date: Tue, 2 Jul 2024 18:44:35 +0530 Message-Id: <20240702131436.2873832-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0008.apcprd02.prod.outlook.com (2603:1096:4:194::12) To PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8205:EE_|PAXPR04MB8799:EE_ X-MS-Office365-Filtering-Correlation-Id: 88bfbacb-5f12-4ba7-0d4e-08dc9a98f45a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?F/aBAGjCpHXH50K4dCYahJ27pCICe1IHTAJwaD/HrsVtXfnGXw5M0yFLaYQi?= =?us-ascii?Q?Uk5TjAOtciXCBVQYASP2fliGttgwVGsMUVqwwrJqBN0k3Ke/MpgjfaDTwapN?= =?us-ascii?Q?CnkFbn36kkKGBoeycgc0svt/8+D4/7CiXUKP2m6IANPOvhQ5R2UucKmOAAZd?= =?us-ascii?Q?OGYj4pXdWq3DL2XO4McIE4JZooX1Ut6Eb3cJzpyaTuOqBO/5L9mmENvl//63?= =?us-ascii?Q?Aj2fQuitZZF+nK2CLxLKigMGMXMTnvKYZv+Dm77is11ylGGph03sBuuzsv54?= =?us-ascii?Q?94HShVoIVjrS4JWaK8bsJHqKZsLqqprHcrkCIJEBlPxYwlwan4IGx6vZD2pK?= =?us-ascii?Q?NY6m0dCfp+FmqUdMooMwySsxjkrP9oeSOW2X4AUV3hfwZ/TlR/2PkoSTV85z?= =?us-ascii?Q?d9h30oJ7NzHwA9Wov/lbHqZrXYBsqXswjuUTGnHzh8FpgqZdDLf+vN+KE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n0uQixlB5K6FxjH8wh9oiTgyLjPeuSqWx?= =?us-ascii?Q?h9IStg75qbHFc0uh1WqHD2KlZdAHFzzHw7PLnScAhjHWRKnZhA=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)(376014)(52116014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?gRMIsRp35fXGzrwxntcBrwO9kHNHjoIq6IWjwtBV/5J/WltY9SQAr0W8kUIB?= =?us-ascii?Q?p/HCuqXujJ89/e0Pohi4FepEAwnzZGbpBfB1kl22eHspgiKK8f9kgu24Ktbx?= =?us-ascii?Q?WbN367oK8hiWrZEnd/SU7JC/KNpQJFPjkOwOaMiWOmqWlPC5gVvYoC2LHvhK?= =?us-ascii?Q?bCLKWyR6u3KjPVD9CEz4sNQDO093uzfW4kpeDLCtxToVGhuSQrIU9q8VtUPX?= =?us-ascii?Q?Ithd/Po/lKh6tPad7tVTgx06aNrnozjgxG0uKZXhsi7i225yfu4G1Ud4zSAQ?= =?us-ascii?Q?4f6csLbHBPgq6sEcYDJ2q5CDzSd1KV0UCXvXFgoxuvgq1Esn/eK5i8S1xLiY?= =?us-ascii?Q?FVsTqorqpNxFFEgqocIE1105PBHRMxyqcyi47/98J4nFikqhQmAfKwT3HNyq?= =?us-ascii?Q?RJ2N/zAwTsoT7UDk7HAnqLg6WOnqiHWqJWlvirSMXchSWeFeNT+W7n9DM9mL?= =?us-ascii?Q?w4gB3nPanRd4kwZ33C0lX9xZ6QSIIDSldExvfqLmKE9U3EFgydAHkzJwpyIE?= =?us-ascii?Q?27jHQlP6qaZX0q4jyijNd9iEmcuFXDvMjZ3xIkU7sUJfVfpNoGWlaNfF9WCm?= =?us-ascii?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SCgLVLENrN5BDa?= =?us-ascii?Q?uxaCi6CgV2ze1vpmkrhIZ35KVoX+lmM0VvEAeDk511Pq/JQDqW7DdRmNCbuj?= =?us-ascii?Q?eMHijvKAeIaq/m2cw+U=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 88bfbacb-5f12-4ba7-0d4e-08dc9a98f45a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8205.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2024 13:14:50.8686 (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: c7lB0IYhJl8FaPRKrPTVsGV/r10JuzYw4xqWqwVFR4zjr+CnHP+SEQt45/pCTnye X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8799 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 heap dump support in proc-info memory dump option. Signed-off-by: Gagandeep Singh --- 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..7137891c14 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("------------ HEAP DUMP -------------\n"); + rte_malloc_dump_heaps(stdout); + printf("---------- END_HEAP_DUMP -----------\n"); + printf("------------- TAIL_QUEUES -------------\n"); rte_dump_tailq(stdout); printf("---------- END_TAIL_QUEUES ------------\n"); -- 2.25.1