I have a backtrace from a sysrq-t, hung_task message or /proc/<pid>/stack, how do I map this to source code?
Updated -
Introduction
This article discusses one method for mapping a symbol from a kernel backtrace to source code using the eu-addr2line utility along with the kernel symbols found in the kernel-debuginfo RPM.
Example 1: Decoding a non-module based kernel symbol
- First, get a symbol for which you want to lookup. This could come from a hung-task ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.