select_unwinder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pick your unwinder, bestie: select_unwinder(9) πŸ’…

okay so bestie, welcome to select_unwinder(9) from the Kernel API Manual β€” the page where the kernel picks its favorite registered stack unwinder. It’s short, it’s private, and it’s lowkey iconic. Let’s go ✨


πŸŽ€ NAME πŸŽ€

select_unwinder β€” select the best registered stack unwinder. That’s the whole name and the whole job, no cap. πŸ‘‘

✨ SYNOPSIS ✨

struct unwinder * select_unwinder (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. Literally none, bestie, not even one. 🫢

πŸ’– DESCRIPTION πŸ’–

okay so this one is a private function β€” private, private, iykyk. You must hold unwinder_lock when called. Like, do not skip the lock, fr fr. πŸ”’

It selects the stack unwinder with the best rating. That’s the vibe check: best rating wins. This is useful for setting up curr_unwinder, so the kernel knows which unwinder is the main character. πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./arch/sh/kernel/unwinder.c β€” the source file, go peek if you’re curious 🧚
  • unwinder_register(9) β€” the registration bestie, linked right here πŸ’œ

xoxo, source/version footer says ./arch/sh/kernel, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from