ftrace_location(9)
πΈ ftrace_location(9) β a Kernel API Manual moment π
okay bestie, welcome to the ftrace_location(9) page, straight out of the Kernel API Manual β¨ this one's short and sweet and honestly kind of iconic for it π
π NAME π
ftrace_location β returns the ftrace location, that's literally the whole job, no cap π«Ά
β¨ SYNOPSIS β¨
unsigned long ftrace_location (unsigned long ip );
π¦ ARGUMENTS π¦
ipβ bestie, this is the instruction pointer you want checked π that's the one and only thing you hand over.
β RETURN β
so here's the vibe check on what you get back π«
- If
ipmatches the ftrace location, you getipright back. matching, slay π - If
ipmatchessym+0, you getsym's ftrace location. we love a glow-up π§ - Otherwise? you get
0. nothing. zero. a little heartbreaking honestly π
π SEE ALSO π
the whole friend group π β Kernel file ./kernel/trace/ftrace.c, plus:
ftrace_lookup_ip(9)ftrace_free_filter(9)ftrace_hash_move(9)ftrace_location_range(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)ftrace_run_stop_machine(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)
π«Ά that's the whole page, bestie β go forth and trace responsibly β¨
and that's a wrap, babe π this lil section lives in ./kernel/trace, dated October 2026, and it's ftrace_location(9) forever and always π periodt π
π¦ 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