die_find_tailfunc(9)
π NAME π
okay so bestie, this is die_find_tailfunc(9) from the Kernel API Manual, and the whole vibe is literally: Search for a non-inlined function with tail call at given address. It's giving tiny debug-info detective mission, and I'm obsessed. π
β¨
β¨ SYNOPSIS β¨
Dwarf_Die * die_find_tailfunc (Dwarf_Die *cu_die , Dwarf_Addr addr ,
Dwarf_Die *die_mem );
That's the signature, no cap: three arguments, one return, all explained below.
πΈ ARGUMENTS πΈ
cu_dieβ a CU DIE which includingaddr.addrβ target address.die_memβ a buffer for result DIE.
π DESCRIPTION π
Search for a non-inlined function DIE with tail call at addr. When it finds one, it stores the DIE to die_mem and returns it. If it fails, it returns NULL. That's the whole plot, and honestly it ate. π₯
π¦ SEE ALSO π¦
Kernel file: ./tools/perf/util/dwarf-aux.c
Related manual pages, in their original order, because we do not skip lore:
cu_find_realpath(9)cu_get_comp_dir(9)cu_find_lineinfo(9)cu_walk_functions_at(9)die_get_linkage_name(9)die_compare_name(9)die_match_name(9)die_get_call_lineno(9)die_get_type(9)die_get_real_type(9)die_get_pointer_type(9)die_is_signed_type(9)die_is_func_def(9)die_entrypc(9)die_is_func_instance(9)die_get_data_member_location(9)die_get_call_file(9)die_get_decl_file(9)die_find_child(9)die_find_realfunc(9)die_find_top_inlinefunc(9)die_find_inlinefunc(9)die_find_func_rettype(9)die_walk_instances(9)die_walk_lines(9)die_find_variable_at(9)die_find_member(9)die_get_typename_from_type(9)die_get_typename(9)die_get_varname(9)die_get_var_innermost_scope(9)die_get_var_range(9)is_breg_access_indirect(9)die_find_variable_by_reg(9)die_find_variable_by_addr(9)die_collect_vars(9)die_collect_global_vars(9)die_get_cfa(9)die_get_scopes(9)die_get_member_type(9)die_deref_ptr_type(9)
okay bye bestie π«Ά this page's source/version is ./tools/perf/util, dated October 2026, and it's die_find_tailfunc(9). mwah π
π¦ 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