ftrace_find_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ftrace_find_event(9) β€” a Kernel API Manual moment

okay bestie, welcome to the Kernel API Manual ✨ this one is short and sweet and honestly iconic for it.


πŸŽ€ NAME πŸŽ€

ftrace_find_event β€” find a registered event πŸ’–

🌸 SYNOPSIS 🌸

struct trace_event * ftrace_find_event (int type );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • type β€” the type of event you're looking for, like literally the whole vibe check of what you want back πŸ”

⭐ DESCRIPTION ⭐

So here's the tea: it returns an event of type type β€” and if there's nothing matching, you get NULL instead. no cap, that's it 😭

⚠️ big one: this is called with trace_event_read_lock held. so like, the lock is already on when you roll up. don't be the main character who forgets that, fr fr πŸ”₯

πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie 🫢 sign-off time: this lil gem lives under ./kernel/trace, it's the October 2026 edition, and yes the header and footer both say ftrace_find_event(9) because consistency is slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from