tracing_map_var_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” The tracing_map_elt. That's the element we're checking, bestie.
  • i β€” The index of the given variable associated with the tracing_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:

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