stack_trace_save_regs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to pt_regs to 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:

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