ftrace_startup_subops(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ftrace_startup_subops πŸ’…

okay so bestie, welcome to the Kernel API Manual πŸŽ€ this one's ftrace_startup_subops(9) and it's lowkey the glow-up button for your tracing ops. sit down, grab a boba, let's go πŸ§‹


🌸 NAME 🌸

ftrace_startup_subops β€” enable tracing for subops of an ops ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int ftrace_startup_subops (struct ftrace_ops *ops , struct ftrace_ops
*subops , int command );

that's the whole signature, no cap. returns an int, takes three things πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • ops β€” the manager ops πŸ‘‘ and here's the vibe: it's used to pick all the functions of its subops. it's giving team captain energy.
  • subops β€” a new ops that you're adding to ops 🫢 fresh recruit, welcome to the group chat.
  • command β€” extra commands you can use to enable tracing ⭐ little extra instructions, iykyk.

🌈 DESCRIPTION 🌈

so the tea β˜• β€” ops here is a manager ops that's holding the filter including all the functions that its list of subops are tracing. literally the main character of the function list.

when you add a new subops, the functions of subops get added to ops. that's it, that's the whole plot πŸ“ the family grows, the filter grows, the tracing slays. periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file ./kernel/trace/ftrace.c and like, the entire extended universe of friends 🌌 β€” every single one, no skipping:

like I said. the whole universe πŸŒˆπŸ”­


πŸ’€ real talk: this page is the Kernel API Manual, living under ./kernel/trace, dated October 2026, and it's filed as ftrace_startup_subops(9). screenshot it, cite it, put it on your vision board πŸ™ˆ

okay bye bestie, go add those subops, ily πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from