stack_depot_fetch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so stack_depot_fetch is literally the function that fetches a stack trace from stack depot, and this whole page is from the Kernel API Manual. bestie, we are in kernel land now πŸ’…βœ¨

✨ SYNOPSIS ✨

here's the exact signature, no edits, no cap:

unsigned int stack_depot_fetch (depot_stack_handle_t handle , unsigned
       long **entries );

πŸŽ€ ARGUMENTS πŸŽ€

  • handle β€” the stack depot handle you got back from stack_depot_save. it's your little ticket into the depot, iykyk 🎟️
  • entries β€” a pointer where the address of the stack trace gets stored. you hand over the spot, the address lands there 🫢

πŸ’… RETURN πŸ’…

the number of frames for the fetched stack. that's the count, periodt πŸ”₯

🫢 SEE ALSO 🫢

kernel file ./include/linux/stackdepot.h β€” and the whole squad:


this cutie comes from ./include/linux, dated October 2026, and stack_depot_fetch(9) is signing off πŸ’–βœ¨

πŸ“¦ where this page comes from