sof_print_oops_and_stack(9)
π sof_print_oops_and_stack(9) π
(Kernel API Manual, bestie β yes, we are literally in the kernel API manual β¨)
πΈ NAME πΈ
sof_print_oops_and_stack β handles the printing of DSP oops and stack trace. Iconic little helper behavior fr.
β¨ SYNOPSIS β¨
void sof_print_oops_and_stack (struct snd_sof_dev *sdev , const char
*level , u32 panic_code , u32 tracep_code , void *oops , struct
sof_ipc_panic_info *panic_info , void *stack , size_t stack_words );
π ARGUMENTS π
sdevβ Pointer to the device'ssdev. Device context bestie.levelβ theprinklog level to use for the printing. (Yes, it saysprinkhere β preserving the exact spelling, no cap π)panic_codeβ the panic code. Panic tea.tracep_codeβ tracepoint code. Tracepoint vibes.oopsβ Pointer to DSP specific oops data. Oopsie data pointer.panic_infoβ Pointer to the received panic information message. Panic info message pointer.stackβ Pointer to the call stack data. Stack data pointer.stack_wordsβ Number of words in the stack data. Stack size in words.
π DESCRIPTION π
Helper to be called from .dbg_dump callbacks. No error code is provided β it's left as an exercise for the caller of .dbg_dump (typically IPC or loader). Periodt. π
π¦ SEE ALSO π¦
- Kernel file
./sound/soc/sof/core.c sof_debug_check_flag(9)
Signing off from ./sound/soc/sof, dated October 2026, with love from sof_print_oops_and_stack(9) ππ«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms