FUNCTION::PN(3stap)

πŸ’– FUNCTION::PN πŸ’–

okay so bestie, real talk: this is a page from the Context Functions section of the SystemTap Tapset Reference, section 3stap, and it's about ONE tiny lil function that does ONE tiny lil thing. and it ate. πŸ’…


✨ NAME ✨

function::pn β€” returns the active probe name πŸŽ€


✨ SYNOPSIS ✨

pn:string()

✨ ARGUMENTS ✨

  • None β€” nope, nada, zero args, she takes no input, she just is πŸ¦‹

✨ DESCRIPTION ✨

okay so what does pn actually do?? she returns the script-level probe point that's associated with a probe handler that's running right now, at this very moment, in real time. main character energy fr fr. πŸ‘‘

and listen β€” it's not just the probe point as you wrote it, she includes the wild-card expansion effects too, so if your probe point had wildcards, what you get back reflects how they expanded. iconic behavior honestly.

Context: the current probe point. that's the vibe she's reading from. no cap. ⭐


✨ SEE ALSO ✨

  • tapset::pn(3stap) β€” go read this one too bestie, it's her sister page 🫢

and that's the whole entire page!! short, sweet, and absolutely slaying. πŸ’–

this was brought to you by the SystemTap Tapset Reference, version-flavored and dated September 2026 β€” so like, she's from the future and she's still serving. 🌈✨ bye bestie, go name some probes!! πŸŽ€πŸ’œ

πŸ“¦ where this page comes from