backtrace: doc: Mention the feature
Add a short section about the backtrace feature to the sandbox docs. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -616,6 +616,23 @@ Here is an example trace::
|
||||
Hit any key to stop autoboot: 1
|
||||
|
||||
|
||||
Backtrace Support
|
||||
-----------------
|
||||
|
||||
Sandbox supports printing a backtrace of the current call stack, which can be
|
||||
useful for debugging. The :doc:`backtrace <../../usage/cmd/backtrace>` command
|
||||
prints a backtrace showing function names, source files, and line numbers.
|
||||
|
||||
This uses the libbacktrace library (bundled with GCC) to provide detailed symbol
|
||||
information, including for static functions.
|
||||
|
||||
To use it, simply run::
|
||||
|
||||
=> backtrace
|
||||
|
||||
This command is enabled with ``CONFIG_CMD_BACKTRACE``.
|
||||
|
||||
|
||||
Debugging the init sequence
|
||||
---------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user