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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.