arc_unwind_core(9)
π NAME π
okay so this page is arc_unwind_core(9) from the Kernel API Manual, and it's literally about arc_unwind_core β the function that unwinds the kernel mode stack for an execution context. main character energy fr fr. π
β¨ SYNOPSIS β¨
notrace unsigned int arc_unwind_core (struct task_struct *tsk , struct
pt_regs *regs , int (*consumer_fn) (unsigned int, void *) , void *arg );
π ARGUMENTS π
tskβNULLfor current task, specific task otherwise.regsβpt_regsused to seed the unwinder{SP, FP, BLINK, PC}. IfNULL, usept_regsoftsk(if!NULL) otherwise use the current values of{SP, FP, BLINK, PC}.consumer_fnβ callback invoked for each frame unwound. Returns0to continue unwinding,-1to stop.argβ arg to callback.
π DESCRIPTION π
Returns the address of first function in stack. no cap, that's the whole return vibe.
Semantics:
- synchronous unwinding (e.g.
dump_stack):tskNULL,regsNULL - Asynchronous unwinding of sleeping task:
tsk!NULL,regsNULL - Asynchronous unwinding of intr/excp etc:
tsk!NULL,regs!NULL
π₯ SEE ALSO π₯
- Kernel file
./arch/arc/include/asm/stacktrace.hβ go peek, bestie π
and the footer tea is source/version ./arch/arc/include/asm, dated October 2026 β mwah πβ¨
π¦ 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