tracing_map_var_set(9)
okay so bestie, welcome to the Kernel API Manual page for tracing_map_var_set(9) β it's giving tiny-but-iconic kernel helper energy β¨
π NAME π
tracing_map_var_set β Return whether or not a variable has been set π
β¨ SYNOPSIS β¨
bool tracing_map_var_set (struct tracing_map_elt *elt , unsigned int i
);
π«Ά ARGUMENTS π«Ά
eltβ Thetracing_map_elt. That's the element we're checking, bestie.iβ The index of the given variable associated with thetracing_map_elt.
πΈ DESCRIPTION πΈ
okay so this is basically a vibe check for one variable: you get back true if it has been set, and false otherwise π₯ no cap, that's it.
the index i is literally the index that came back from the call to tracing_map_add_var when the tracing map was set up. iykyk β same index, same variable, same main-character slot π
π¦ SEE ALSO π¦
Kernel file ./kernel/trace/tracing_map.c β and yes, the whole friend group is here:
tracing_map_update_sum(9)tracing_map_read_sum(9)tracing_map_set_var(9)tracing_map_read_var(9)tracing_map_read_var_once(9)tracing_map_add_sum_field(9)tracing_map_add_var(9)tracing_map_add_key_field(9)tracing_map_insert(9)tracing_map_lookup(9)tracing_map_destroy(9)tracing_map_clear(9)tracing_map_create(9)tracing_map_init(9)tracing_map_destroy_sort_entries(9)tracing_map_sort_entries(9)
mwah π this page's source/version is ./kernel/trace, it's dated October 2026, and it's part of the Kernel API Manual β slay, bye 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