sof_print_oops_and_stack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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's sdev. Device context bestie.
  • level β€” the prink log level to use for the printing. (Yes, it says prink here β€” 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 πŸ¦‹


Signing off from ./sound/soc/sof, dated October 2026, with love from sof_print_oops_and_stack(9) πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from