Let me take a look... Thanks for the report...

-----Original Message-----
From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Andreas Schultz
Sent: Thursday, May 16, 2019 12:57 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] memory tracer does not see free's

 Hi,

VPPs memory trace seems to be missing the release of pointers the where 
allocated through clib_mem_alloc_aligned/clib_mem_alloc_aligned_no_fail.

This sample:

void mem_test ()
{
  u8 *m;

  m = clib_mem_alloc_aligned_no_fail (123, CLIB_CACHE_LINE_BYTES);
  clib_mem_free (m);
}

should not leak memory, but the traces does report it as a leak.

Do I miss something here or is there a bug in the tracer?

Regards,
Andreas

--
--
Dipl.-Inform. Andreas Schultz

----------------------- enabling your networks ----------------------
Travelping GmbH                     Phone:  +49-391-81 90 99 0
Roentgenstr. 13                     Fax:    +49-391-81 90 99 299
39108 Magdeburg                     Email:  i...@travelping.com
GERMANY                             Web:    http://www.travelping.com

Company Registration: Amtsgericht Stendal        Reg No.:   HRB 10578
Geschaeftsfuehrer: Holger Winkelmann          VAT ID No.: DE236673780
---------------------------------------------------------------------
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13067): https://lists.fd.io/g/vpp-dev/message/13067
Mute This Topic: https://lists.fd.io/mt/31642893/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to