Hi,

 
I followed Dave Barach’s instructions as mentioned in one ofthe posts,


 
To use the built-in leakfinder: build TAG=vpp_debug, set 
#defineMHEAP_HAVE_SMALL_OBJECT_CACHE to 0 in .../src/vppinfra/mheap_bootstrap.h.


 
Then:


 

 
  *   Start vpp, configure it, and so forth.

  *   “memory-trace on”

  *   <do something>

  *   “show memory”


 
After doing above steps, I see output like the following. AmI missing any steps 
to get additional info in the following traces?


 
DBGvpp#show memory

Thread0 vpp_main

16416objects, 14810k of 16641k used, 1445k free, 1432k reclaimed, 257k 
overhead,1048572k capacity

 Bytes    Count     Sample  Traceback

    1964       28 0x7f416e9c6f98 0x7f41af3967f5

                                 0x7f41b0672dd1

                                 0x7f41b067317e

                                 0x7f41b0673e11

                                 0x7f41b068179a

                                 0x7f41b040876c

    1908        1 0x7f416f63c154 0x7f41af3967f5

                                 0x7f41af366a4c

                                 0x7f41af369791

                                 0x7f41af354b89

                                 0x7f41af354ca7

                                 0x7f41b03f3f96

                                 0x7f41b03f438e

                                 0x7f41b03f3bbb

                                 0x7f41b03f3ad8

                                 0x7f41b03f3e47

                                 0x7f41b043beec

                                 0x7f41b043c9ee

43total traced objects


 
Thanksfor any help.


 
-harish

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to