Skip to content

Commit

Permalink
labs: kernel: debugging: mention decode_stacktrace.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Raynal <[email protected]>
  • Loading branch information
miquelraynal committed Jun 20, 2024
1 parent db0f2b2 commit 6cb7c1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion labs/kernel-debugging/kernel-debugging.tex
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ \subsection{Locating the exact line where the error happens}
A little understanding of assembly instructions on the architecture
you are working on helps, but seeing the original C code should answer
most questions.
most questions. Anyway, it is also possible to get an automated
translation of the symbol offsets using
\code{scripts/decode_stacktrace.sh} (in the kernel sources).
Note that the same technique works if the error comes directly from
the code of a module. Just dissassemble the \code{.o} file
Expand Down

0 comments on commit 6cb7c1c

Please sign in to comment.