Hi, I want to check memory leakage on VPP so I use Valgrind memcheck tool to do it, but it gives me a lot of errors on output, like "Invalid read of size ..." and at the end of the valgrind memcheck report is saying : "This is usually caused by using VALGRIND_MALLOCLIKE_BLOCK in an inappropriate way." I compile VPP with CLIB_DEBUG=1 (make build command) so the code includes the signals to valgrind regarding VPP has its own memory allocator. I use command with options below: valgrind --leak-check=full --show-leak-kinds=all --read-var-info=yes --trace-children=yes --fair-sched=yes --log-file=memcheck-output.log /root/vpp/build-root/install-vpp_debug-native/vpp/bin/vpp \ -c /etc/vpp/startup.conf
Do you test Valgrind Memcheck on VPP successfully? which command and configuration use? Is there any useful tool for that, except internal commands: "show memory" , "memory-trace" Thanks, -Saeed
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev