stack_trace_save_regs(9)
stack_trace_save_regs(9) π
okay bestie, welcome to the Kernel API Manual entry for stack_trace_save_regs β the little function that saves a stack trace based on pt_regs into a storage array. no cap, it's giving "kernel internals but make it cute." π
β¨ NAME β¨
stack_trace_save_regs β save a stack trace based on pt_regs into a storage array π«Ά
β¨ SYNOPSIS β¨
unsigned int stack_trace_save_regs (struct pt_regs *regs , unsigned long
*store , unsigned int size , unsigned int skipnr );
β¨ ARGUMENTS β¨
regsβ pointer topt_regsto examine πstoreβ pointer to the storage array πsizeβ size of the storage array πskipnrβ number of entries to skip at the start of the stack trace βοΈ
β¨ RETURN β¨
Number of trace entries stored. periodt. π₯
π SEE ALSO π
kernel file ./kernel/stacktrace.c, plus all these iconique friends:
stack_trace_print(9)stack_trace_snprint(9)stack_trace_save(9)stack_trace_save_tsk(9)stack_trace_save_tsk_reliable(9)stack_trace_save_user(9)stack_trace_save(9)stack_trace_save_tsk(9)stack_trace_save_tsk_reliable(9)stack_trace_save_user(9)filter_irq_stacks(9)
yes bestie, some of those are listed twice in the original β i'm keeping it 100% as-is, no editing, no merging, no "fixing." π
mwah π β this cutie comes from ./kernel, with the date stamp October 2026. slay and goodbye πβ¨
π¦ 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