[Enhancement] translate the traced address to the source file and the line number
hwangcc23 opened this issue · comments
Provide a built-in addr2line function.
Survey if there is any open source library or write one (libaddr2line).
addr2line from binutils isnt't enough?
http://elinux.org/Addr2line_for_kernel_debugging
It would be better to have each address translated to the source file/line number in the output directly rather than translate each of them manually via addr2line.
one option is to call addr2line
second is to 'reuse' addr2line code (addr2line.c is not big file) :)