[dpdk-dev] [RFC v2 2/2] app/testpmd: support malloc and free tracking log

Xueming(Steven) Li xuemingl at mellanox.com
Thu Jul 30 17:13:51 CEST 2020


Hi Som,

> -----Original Message-----
> From: Somnath Kotur <somnath.kotur at broadcom.com>
> Sent: Thursday, July 30, 2020 11:10 PM
> To: Iremonger, Bernard <bernard.iremonger at intel.com>
> Cc: Xueming(Steven) Li <xuemingl at mellanox.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>; Stephen
> Hemminger <stephen at networkplumber.org>; dev at dpdk.org; Asaf Penso
> <asafp at mellanox.com>
> Subject: Re: [dpdk-dev] [RFC v2 2/2] app/testpmd: support malloc and free
> tracking log
> 
> On Tue, Apr 21, 2020 at 7:11 PM Iremonger, Bernard
> <bernard.iremonger at intel.com> wrote:
> >
> > > -----Original Message-----
> > > From: dev <dev-bounces at dpdk.org> On Behalf Of Xueming Li
> > > Sent: Friday, April 17, 2020 9:04 AM
> > > To: Burakov, Anatoly <anatoly.burakov at intel.com>; Yigit, Ferruh
> > > <ferruh.yigit at intel.com>; Stephen Hemminger
> > > <stephen at networkplumber.org>
> > > Cc: dev at dpdk.org; Asaf Penso <asafp at mellanox.com>
> > > Subject: [dpdk-dev] [RFC v2 2/2] app/testpmd: support malloc and
> > > free tracking log
> > >
> > > New CLI commands to manipulate malloc tracking log:
> > >
> > > dump_malloc start <n>: start malloc tracking with number of buffers
> > > dump_malloc dump <n>:  dump mmalloc tracking log with detail level
> > > dump_malloc stop:      stop malloc tracking
> > >
> > > Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> >
> > Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
> 
> Sorry if this has been answered already, but just wanted to know if there is any
> reason this is not yet merged in ...could be a useful tool to debug leaks in PMDs
> Is there any other /better way to identify memory leaks now which is why this
> is no longer under consideration ?

AFAIK, new tracking point system is introduced to record key event not only memory.
So this patchset no longer valid.
 
> 
> Thanks
> som




More information about the dev mailing list