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 (#13066): https://lists.fd.io/g/vpp-dev/message/13066
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