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 951A445AFE; Thu, 10 Oct 2024 09:16:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78351402EF; Thu, 10 Oct 2024 09:16:41 +0200 (CEST) Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011054.outbound.protection.outlook.com [52.101.65.54]) by mails.dpdk.org (Postfix) with ESMTP id 9AF99402CD for ; Thu, 10 Oct 2024 09:16:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fEWJIXziQOX/GD2WTS+ZXDRw4izmvWgQOvGn5lqis/cKG/vDxLer8p6kIdlJqxlqPzmrkL3cJ1P0EDAnVIWTNPFVdJ7WEGvdB713DSbIMJFBDDJ2dvDqJHSmbBZuqqhToEJrDd0O0O98UmrLyfKsjihcDKh8U/EuO+blUZZguxf8Xx9yTvFdHWQNwNKC+YEGPqpa99Zjxteww+sPcTqUN8eQA+MIWhO5y1aMeciRVje24e3YmnvL8TEBzLBo7eUuN0R97BbOkesQuaiu5RzkewGs8bewPZ0jvgF+uljo4lYeHxFV8dAxWtCxFPX24z9bEn3Bs/U3vxIanHkjgNL8Og== 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=O8/hftlOqAEhD+m8vVt1SK62nA/cQrcDqx7/sn1VRMtKkmBmLE3lPRurcf/FU8kJpC9Gs0ESJAffBNXr0VN+lf+J5Nryfvk2fnLniHl2qfn1bO6egJyS2B6IMwS8VX5mhgzhmSM37uIEIAQj7HHW9vMFqo08Goxwt8tI+gVzYSuFVQpQZzQ6Ak6BoJUfRYCABu15lqAk3tuErK9qqrWP/wTItQd2QdGfiFnXb1rPh3NVzEYRIaFHyXw9mRA32XptVcnWkMU26rUXkHmby9nL9sNokpKm8nAHI11h+0ihM/CUvMajuftqyuNrwCADniEeq4eRIt6JQ/V8Wl57E62k2g== 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=eKZqlEYJTrv2lheHIaeqpBPweLRPzIW9H7RFar2xm0QIy3l7Vvh1Mdlh3M7ijIdHymV9nidWYwqQ8L/IDRS4F8ZSLfQ401TBjaofL2jNdVdg9eVQ+CG1EjZDB8Acn4OC5lrfClHaHI1zvmAvjgvYEWRVFmD4RobZcVEj/yNWzpbqvqnnYgMbFcYicnpyDa+ZBv3nK7Lw9ezHEs6PmifXUdfnD2eVk7WR7RaX6lgkbDplar72UZMRaF4ZSckq15C7t26lP71xzCW+h29yD9+vNg4mty4N5c4hwgulYKsZpswJVth3zs+HfAzR9gqkUISP9R3VL6QfFmLuvptVKIQ/9Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AS8PR04MB8104.eurprd04.prod.outlook.com (2603:10a6:20b:3b1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct 2024 07:16:36 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::2e32:1a4a:7d29:195]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::2e32:1a4a:7d29:195%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024 07:16:36 +0000 From: Gagandeep Singh To: dev@dpdk.org, Reshma Pattan Cc: Hemant Agrawal Subject: [v3 1/2] app/proc-info: add memory heap dump Date: Thu, 10 Oct 2024 12:46:20 +0530 Message-Id: <20241010071621.2461383-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240730110313.2555473-2-g.singh@nxp.com> References: <20240730110313.2555473-2-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0161.apcprd04.prod.outlook.com (2603:1096:4::23) To AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8198:EE_|AS8PR04MB8104:EE_ X-MS-Office365-Filtering-Correlation-Id: ff3857a5-daa6-4cb4-1147-08dce8fb79b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?b27AVWzoWmy/FFkiKE+EGGaTNXDr3Q859uD12XGrRCkVSuf0MragfV0mIUTK?= =?us-ascii?Q?Peks/z3ocv3D9zxSG6qdeH6vGblZi/2bwXDZUA1CZlUyKCCjgDlgl43+1Roi?= =?us-ascii?Q?9Wnvt3JVxn/sItvrZ6frP4jspp/Fmd+d25NAH/cc59iOMj9eiVCE+8Fg6DdJ?= =?us-ascii?Q?Y7y2YhLBlZoVEeSSh1A17z6Lk8JGHqB1HjZgfug1VzX7K0++3Wx38GuP20Q3?= =?us-ascii?Q?fDURF9rh7yIZ1QCW7rTsseNtvWvTdSpV71skjlAYtli3Rck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ae0X2+TIjfhuuY0tOb5IYBdVxAVUsY?= =?us-ascii?Q?ZBPRKQaj0BRPz1KuJQvJj3SnMvWPY2Fb+d1BhDZlq76n8j5qoV5/PMBeIRz7?= =?us-ascii?Q?YdHYr/tlcly7u/8jMLxzp7mc1desXq2siIRh92fFAwf6U0PYbC1LtKKpEciP?= =?us-ascii?Q?mrWa/6BZcX/1ZdXlK+o1uGvK2JvNECZbs9B9jcXl+OOmzg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ExAEkRKJ/E9PuqQAw9re6JzvMmrmzHz582ohqAKeIRYNOiDEWrm7Qn2S61rJ?= =?us-ascii?Q?Ew3jQs+dN45L0YJUnPUdIAkzDa0+l5DT47eirkN8MAMUREC5v4HmeHe5ZE3w?= =?us-ascii?Q?WSgIKCNfG+Cl6CmNZmsqmVE9wESMvgGNoffcWUrq24ocKr6P1PGAuCrFnDx1?= =?us-ascii?Q?Tx3m5r5HEroqvmSgkPbxDZOtKJNmR2wg+jUNZG9xnfwXuWZlKT2FOxlD0Kux?= =?us-ascii?Q?t1Xij4ZVqarMV5Zqd3P3Zo1N3a6VmYW4PTIupEEZSfqi+oUAUnlx6dnXmMgD?= =?us-ascii?Q?8XmQN91jrVq910J0BmO43F/aRYma3zxGlE1TUzQhhymjEpWFLguREc1qsnrW?= =?us-ascii?Q?fS81CTlCpkjbOMyiMLgXwDzKA5NUQ7u3rg9mBuZyzWiObUyO+GUMhMfstT7h?= =?us-ascii?Q?7qJFq4AIst7a44Ir9pKIaFit4tGmXsF+/feMqUXwX3F9rCAEz8r296cxabQh?= =?us-ascii?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+gZW8MtnD74?= =?us-ascii?Q?0dUi9ja+mSw1bGob89r0h7PSWcmU77m2dAKGYP0efcSJm2EP3bcfkTlbyIi1?= =?us-ascii?Q?V/vmEwgYf306RmVER+qlTi0hBPkjxNTBCyu6ssfWhCTqJSYcHmBM7tifVQt3?= =?us-ascii?Q?KxQljdeJpAdqAgq2XHBqtzJTJCWH4wgRBb1w8r4eqlM0gF0nvmLl8Y+CLw2w?= =?us-ascii?Q?EuPniA+q1a5/K8s4204=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff3857a5-daa6-4cb4-1147-08dce8fb79b4 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 07:16:36.0206 (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: Ab2WTZ60PFvtNDi6iUWYtWvlLa+7GvNJ3vho7xDiEjNQ3BP5kZWQCtZj0FZWjZsV X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8104 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