Re: [vpp-dev] Question Regarding vlib Memory Leak Debugging

2022-03-08 Thread Benoit Ganne (bganne) via lists.fd.io
> Could you please suggest How to debug if a vlib buffer leak is happening > inside some plugin. > Is there a way to print the content of the allocated vlib buffer ? Ha sorry I misunderstood. You can try https://git.fd.io/vpp/tree/src/plugins/bufmon/bufmon_doc.rst There are a few issues I still n

Re: [vpp-dev] Question Regarding vlib Memory Leak Debugging

2022-03-07 Thread truring truring
Thanks Ben for your Reply ,This link is helpful for memory leak issues. Could you please suggest How to debug if a vlib buffer leak is happening inside some plugin. Is there a way to print the content of the allocated vlib buffer ? On Mon, 7 Mar 2022 at 13:36, Benoit Ganne (bganne) wrote: >

Re: [vpp-dev] Question Regarding vlib Memory Leak Debugging

2022-03-07 Thread Benoit Ganne (bganne) via lists.fd.io
> What are the general guidelines to debug VLIB Buffer Leak ? > Is there a way we print the buffer details which are in an allocated > state? You can track allocations with memory traces: https://s3-docs.fd.io/vpp/22.06/gettingstarted/troubleshooting/mem.html Best ben -=-=-=-=-=-=-=-=-=-=-=- L