Hi
I want to customize "show memory" command in the debug mode when enable
memory trace
to show the function name instead of the address in the "Traceback" column
to easily
find memory leakage.

at the first I see the source code and find out that its use
"format_clib_elf_symbol_with_address" to format the address
But it still shows address not symbol or function name, why?

So I use dladdr (void *addr, Dl_info *info) function which translate
address to
symbolic information, but it gives error maybe for the multi-threading i
think.
Do you have any idea to translate address to symbol dynamically in the code
not in the GDB?

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

Reply via email to