register_fprobe_syms(9)
β¨ 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 insyms. 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
- 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