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 π
tapset::context-caller(3stap)β go read the sibling page, iykyk π
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
- 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