register_fprobe_syms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ register_fprobe_syms(9) ✨

Kernel API Manual, bestie β€” okay so this is the page for register_fprobe_syms, and it's giving β€œregister your fprobe by symbols” energy.


🌸 NAME 🌸

register_fprobe_syms β€” Register fprobe to ftrace by symbols. Literally that. No cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the exact signature, keep it safe:

int register_fprobe_syms (struct fprobe *fp , const char **syms , int num );

πŸŽ€ ARGUMENTS πŸŽ€

  • fp β€” a fprobe data structure that's getting registered. That's the main character here.
  • syms β€” an array of target symbols. Yep, the whole squad of symbols.
  • num β€” the number of entries in syms. So it knows how many besties are in the array.

πŸ’… DESCRIPTION πŸ’…

Register fp to the symbols given by the syms array. This is highkey useful if you're sure the symbols exist in the kernel β€” like, you already know they're there, iykyk.

Return 0 if fp is registered successfully, and -errno if not. That's the whole return vibe.

Vibe check: this one is for when you're confident the target symbols are present in the kernel. Don't come for me β€” that's what the page says. 🫢

🌈 SEE ALSO 🌈

Bestie, go peek at the Kernel file ./kernel/trace/fprobe.c and these icons too:


Okay bye, this page comes from source/version ./kernel/trace and it's dated October 2026, periodt. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from