[dpdk-dev] backtracing from within the code

Catalin Vasile cata.vasile at nxp.com
Fri Jun 24 10:10:00 CEST 2016


Hi,

I'm trying to add a feature to DPDK and I'm having a hard time printing a backtrace.
I tried using this[1] functions for printing, but it does not print more than one function. Maybe it lacks the symbols it needs.
I tried compiling with "-rdynamic", but it breaks the compilation with an error of "bad -rpath option".
Can some help me out?

Catalin Vasile

[1] https://www.gnu.org/software/libc/manual/html_node/Backtraces.html


More information about the dev mailing list