for_each_kernel_tracepoint(9)
π for_each_kernel_tracepoint(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a lil function that literally walks every single tracepoint in the kernel π¦ no cap. It's giving backstage-pass energy: you get to peek at all of them, one at a time π
πΈ NAME πΈ
for_each_kernel_tracepoint β iteration on all kernel tracepoints π« (yes, all of them, the whole squad)
β¨ SYNOPSIS β¨
void for_each_kernel_tracepoint (void (*fct)(struct tracepoint *tp, void
*priv) , void *priv );
like literally that's the whole signature, she's compact and iconic π
π«Ά ARGUMENTS π«Ά
fctβ callback π this is the lil function that gets called for each tracepoint, you bring the vibes, it brings thestruct tracepoint *tpand yourprivalong for the rideprivβ private data π§ your own personal stash of stuff that gets handed straight through to the callback, no questions asked
π₯ SEE ALSO π₯
Kernel file ./kernel/tracepoint.c β that's where the magic lives, go read it iykyk π
tracepoint_probe_register_prio_may_exist(9)tracepoint_probe_register_prio(9)tracepoint_probe_register(9)tracepoint_probe_unregister(9)register_tracepoint_module_notifier(9)unregister_tracepoint_module_notifier(9)for_each_tracepoint_in_module(9)for_each_module_tracepoint(9)
the whole tracepoint friend group honestly π they all hang out together
ngl bestie, this whole page is short and sweet β but every single one of those SEE ALSO entries is a real page, so go slay the cross-references too π
mwah π this one came straight out of the ./kernel source, dated October 2026, and it's still signed for_each_kernel_tracepoint(9) at the bottom β periodt, that's the whole footer, go off π
π¦ 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