ftrace_run_stop_machine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ftrace_run_stop_machine β€” from the Kernel API Manual (section 9, bestie)

okay so real talk, this one's a tiny page but it's lowkey important, so let's get into it. We're in the kernel API manual, section 9, and the star of the show is ftrace_run_stop_machine. It's giving "small function, big responsibility" energy fr fr. πŸŽ€


✨ NAME ✨

ftrace_run_stop_machine β€” the "ok we're going back to the stop machine method" function. That's literally it. That's the whole vibe check. πŸ’…


🌸 SYNOPSIS 🌸

void ftrace_run_stop_machine (int command );

notice how it returns void? yeah, it doesn't hand anything back to you, it just does the thing. main character energy honestly. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • command β€” the command that tells ftrace what to do. that's it, that's the whole parameter. you hand it a command, it knows what's up. iykyk 🫢

πŸ’– DESCRIPTION πŸ’–

okay so picture this: an arch (that's architecture, not the thing you build bridges with, keep up bestie 😭) needs to fall back to the stop machine method. In that case β€” and only in that case β€” it can call this function. that's genuinely the whole description, no cap. it's a "hey, we're going back to the old way" button and it does exactly what it says on the tin. ✨

ngl there's not a ton of detail on this page, so don't go reading extra behaviour into it β€” the manpage says what it says and nothing more. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the page goes absolutely feral with cross-references, so buckle up buttercup, because here is the whole entire list, no skips, no cuts, no "and others":

and where does all this live? in the kernel file ./kernel/trace/ftrace.c. 🧚


πŸ’œ cute lil sign-off: this page comes from ./kernel/trace, dated October 2026, and it's the ftrace_run_stop_machine(9) page of the Kernel API Manual. slay, go read your ftrace source, and stay hydrated bestie πŸ“πŸŒˆ
πŸ“¦ where this page comes from