Debug cli command history.

From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Tuesday, January 28, 2020 3:46 AM
To: [email protected]
Subject: [vpp-dev] Need info on memory-tracer


[Edited Message Follows]
Hi ,

Would like to understand on how to use/interpret the output of memory-tracer 
feature in VPP.

Here are the steps I followed.

1) executed memory-trace on
2) checked show memory verbose
3) no allocations seen
4) executed a scenario, where a vector is allocated
5) checked show memory verbose ( saw the allocation )
6) Executed the scenario, where the vector is FREEd
7) show memory verbose still showing the vector allocation in step4

I was expecting that my vec_free in step6 should remove the entry from "show 
memory verbose", which is not happening.
Am I using this tool correctly to find out a leak.
Do we need to manually check the o/p of "show memory" for each alloc, if there 
is a free present or not? (or) does this command tell that there is a potential 
leak.

Coz, When i created an ip table, the traced objects became from 5 to 35. When I 
deleted the same ip table, it showed the traced objects as 45.
I was expecting that it after a delete of ip table, the traced objects would 
come down.

Can someone pls give hints on this.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15269): https://lists.fd.io/g/vpp-dev/message/15269
Mute This Topic: https://lists.fd.io/mt/70214211/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to