[PATCH 1/2] app/proc-info: add memory heap dump

Gagandeep Singh G.Singh at nxp.com
Tue Jul 30 13:10:26 CEST 2024


Hi,

> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Monday, July 29, 2024 10:48 PM
> To: Gagandeep Singh <G.Singh at nxp.com>
> Cc: dev at dpdk.org; Reshma Pattan <reshma.pattan at intel.com>; Hemant
> Agrawal <hemant.agrawal at nxp.com>
> Subject: Re: [PATCH 1/2] app/proc-info: add memory heap dump
> 
> 02/07/2024 15:14, Gagandeep Singh:
> > --- a/app/proc-info/main.c
> > +++ b/app/proc-info/main.c
> > @@ -637,6 +638,10 @@ meminfo_display(void)
> >  	rte_memzone_dump(stdout);
> >  	printf("---------- END_MEMORY_ZONES -----------\n");
> >
> > +	printf("------------ HEAP DUMP -------------\n");
> 
> Should we add "MALLOC"?
> With underscores for consistency?
Ok, submitted the V2.

> 
> > +	rte_malloc_dump_heaps(stdout);
> > +	printf("---------- END_HEAP_DUMP -----------\n");
> > +
> >  	printf("------------- TAIL_QUEUES -------------\n");
> >  	rte_dump_tailq(stdout);
> >  	printf("---------- END_TAIL_QUEUES ------------\n");
> >
> 
> 
> 
> 



More information about the dev mailing list