FUNCTION::PROBEFUNC(3stap)
β¨ NAME β¨
function::probefunc β bestie, this one hands you the probe point's function name, if it's known π
πΈ SYNOPSIS πΈ
probefunc:string()
π ARGUMENTS π
- None β nope, zero, nada, she takes no arguments, she's just like that π«Ά
π DESCRIPTION π
Okay so picture this: this function returns the name of the function being probed, and it figures that out based on the current address. Iconic behaviour, truly.
How does she do it? She calls symname(addr) or usymname(uaddr), depending on the probe context β and by "probe context" we mean whether the probe is a user probe or a kernel probe. That's the whole vibe check right there. β¨
π¨ PLEASE NOTE π¨
lowkey important, do not skip this part bestie π
This function's behaviour differs between SystemTap 2.0 and earlier versions. Yes, fr fr.
Prior to 2.0, probefunc obtained the function name from the probe point string as returned by pp, and used the current address as a fallback.
So basically: old behaviour = pp first, address as backup. New behaviour = address-driven. Different eras, different energy. π
Consider using ppfunc instead. That's the glow-up recommendation, no cap. π
π SEE ALSO π
okay that's the whole page, you ate that π β this was pulled from the SystemTap Tapset Reference, Version as of September 2026, and yes it lives in the 3stap manual because she's fancy like that π
β¨
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms