for_each_tr...nt_in_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, let me introduce you to for_each_tracepoint_in_module β€” she's literally the iteration queen who walks every single tracepoint inside a module, one by one, no skips, no cap πŸ’…

✨ SYNOPSIS ✨

void for_each_tracepoint_in_module (struct module *mod , void
(*fct)(struct tracepoint *tp, struct module *mod, void *priv) , void
*priv );

like, you hand her a module, a callback, and some private data, and she just goes off looping through the tracepoints πŸ¦‹

πŸŽ€ ARGUMENTS πŸŽ€

  • mod β€” the module, bestie. that's the one being iterated over. main character energy fr πŸ’œ
  • fct β€” the callback 🫢 this is the little function that gets called for each tracepoint; its shape is void (*fct)(struct tracepoint *tp, struct module *mod, void *priv), so it receives the tracepoint, the module, and your private data ✨
  • priv β€” private data πŸ’– literally just your stuff, passed straight through to the callback so it can do its thing. iykyk

🌈 SEE ALSO 🌈


and that's the whole vibe check 🧚 this page came straight out of ./kernel, dated October 2026, and the header name for_each_tr...nt_in_module(9) is just her cute little abbreviated government name β€” periodt πŸ’…πŸ”₯ πŸ“

πŸ“¦ where this page comes from