trace_dump_stack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

trace_dump_stack β€” the way to record a stack back trace in the trace buffer, no cap πŸ’…

So basically the manual you're looking at is trace_dump_stack(9) from the Kernel API Manual, and bestie, it's a tiny one β€” but every bit of it matters, so let's go 🫢


πŸ“œ SYNOPSIS πŸ“œ

void trace_dump_stack (int skip );

That's the whole call, that's the whole vibe ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • skip β€” the number of functions to skip. Like, the helper handlers get skipped over, okay? It's giving "move, I'm not in the photo" 😭

🌈 SEE ALSO 🌈

Kernel file ./kernel/trace/trace.c β€” and also, hi, here's the whole friend group of related calls, lowkey iconic πŸ’–


Go read them, fr fr β€” this one page is like two lines of lore and then a whole contact list of tracing functions πŸ‘‘

That's it, that's the page, mwah πŸ’‹ β€” this one dropped from ./kernel/trace in October 2026, and yeah, that's the whole sign-off bestie, go trace something pretty πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from