FUNCTION::CALLER(3stap)

πŸ’– FUNCTION::CALLER πŸ’–

ok so bestie, this one lives in the 3stap manual β€” that's the SystemTap Tapset Reference, and this page is hanging out in the Context Functions section, which is basically the "who even am I right now" corner of the tapset world. 🫢


✨ NAME ✨

function::caller β€” returns the name and the address of whoever called you, like a little detective for your call stack πŸ”


🌸 SYNOPSIS 🌸

caller:string()

πŸŽ€ ARGUMENTS πŸŽ€

None. not a single one. she takes zero arguments and she's still serving πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: this function hands you back both the address and the name of the function that called yours. Both. At once. Iconic behaviour fr fr.

And ngl, if you wanted to do it yourself the long way, it's literally equivalent to calling this:

sprintf("s 0xx", symname(caller_addr), caller_addr)

no cap, that's the exact same thing. so like… why would you. just use caller. she ate and left no crumbs πŸ‘‘


🌈 SEE ALSO 🌈


SystemTap Tapset Reference Ver 🌸 September 2026 β€” ok that's the whole page bestie, version and date and everything, mwah πŸ’‹ go forth and trace responsibly βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from