FUNCTION::CALLERS(3stap)

πŸ’– function::callers πŸ’–

okay bestie, so this is the SystemTap Tapset Reference page for function::callers, living in section 3stap under the Context Functions umbrella. it's giving "peek at the kernel stack" energy and honestly? iconic. πŸ¦‹


✨ NAME ✨

function::callers β€” returns the first n elements of a kernel stack backtrace. yes queen, it's a little stack-snapshot moment. 🌸


✨ SYNOPSIS ✨

callers:string(n:long)

that's the whole vibe. one arg, one string back. slay. πŸ’…


✨ ARGUMENTS ✨

  • n β€” the number of levels you wanna descend in the stack, and no, the top level doesn't count, she's not included in the tally. if n is -1, you get the entire stack, like the whole thing, no cap, every single level. 🫢

✨ DESCRIPTION ✨

so this function hands you back a string containing the first n hex addresses from the backtrace of the kernel stack. literally just the addresses, in a string, that's the whole serve. πŸ‘‘

heads up bestie β€” the output may be truncated, because of the maximum string length, aka MAXSTRINGLEN. so if your stack is doing too much, some of it might get cut off. not a bug, just the limit doing its thing. 😭

✨ SEE ALSO ✨


and that's the page, periodt. πŸ’œ this was the SystemTap Tapset Reference, from September 2026 β€” go forth and backtrace responsibly, bestie. πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from