ftrace_run_stop_machine(9)
π 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":
ftrace_lookup_ip(9)ftrace_free_filter(9)ftrace_hash_move(9)ftrace_location_range(9)ftrace_location(9)ftrace_text_reserved(9)ftrace_bug(9)ftrace_update_record(9)ftrace_test_record(9)ftrace_get_addr_new(9)ftrace_get_addr_curr(9)ftrace_rec_iter_start(9)ftrace_rec_iter_next(9)ftrace_rec_iter_record(9)arch_ftrace_update_code(9)ftrace_startup_subops(9)ftrace_shutdown_subops(9)ftrace_regex_open(9)allocate_ftrace_func_mapper(9)ftrace_func_mapper_find_ip(9)ftrace_func_mapper_add_ip(9)ftrace_func_mapper_remove_ip(9)free_ftrace_func_mapper(9)register_ftrace_direct(9)unregister_ftrace_direct(9)modify_ftrace_direct_nolock(9)modify_ftrace_direct(9)hash_add(9)update_ftrace_direct_add(9)hash_sub(9)update_ftrace_direct_del(9)update_ftrace_direct_mod(9)ftrace_set_filter_ip(9)ftrace_set_filter_ips(9)ftrace_ops_set_global_filter(9)ftrace_set_filter(9)ftrace_set_notrace(9)ftrace_set_global_filter(9)ftrace_set_global_notrace(9)ftrace_ops_get_func(9)ftrace_kill(9)ftrace_is_dead(9)register_ftrace_function(9)unregister_ftrace_function(9)ftrace_lookup_symbols(9)
and where does all this live? in the kernel file ./kernel/trace/ftrace.c. π§
π cute lil sign-off: this page comes from./kernel/trace, datedOctober 2026, and it's theftrace_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms