FUNCTION::PRINT_UBAC(3stap)
β¨ FUNCTION::PRINT_UBAC(3stap) β¨
okay bestie, welcome to the Context Functions corner of the SystemTap Tapset Reference (section 3stap, we're fancy like that π
). pull up a chair, we're talking stack backtraces π¦
π NAME π
function::print_ubacktrace β prints the stack back trace for the current user-space task. yes, the current user-space task. she's nosy like that π
πΈ SYNOPSIS πΈ
1) print_ubacktrace()
2) print_ubacktrace(pc:long,sp:long,fp:long)
π ARGUMENTS π
pcβ override PC π«Άspβ override SP π«Άfpβ override FP π«Ά
like, you get to hand-pick the registers instead of letting her figure it out herself. main character behaviour fr.
β¨ DESCRIPTION β¨
- the plain one β no extra deets, she just does the thing.
- this one is equivalent to
print_ustack(ubacktrace), EXCEPT that deeper stack nesting may be supported. Returns nothing (ngl, she's a yapper not a gifter β no return value, periodt). Wanna see the kernel version instead? Seeprint_backtracefor kernel backtrace π
she's also equivalent to print_ubacktrace, but she does the backtrace using the pc, sp, and fp that you provide. Useful.
π NOTE π
bestie, listen. if you want (full) backtraces for user space applications and shared libraries that aren't mentioned in the current script, you have to runstapwith-d /path/to/exe-or-soand/or add--lddto load all the needed unwind data. no shortcut, no cap. that's the whole vibe check right there π
(also the original page says "shared shared libraries" and honestly? iconic. we stan a typo π)
π SEE ALSO π
(yes, it's listed twice. twinning fr fr π«Ά)
SystemTap Tapset Reference, version whatever-the-hell-it-says, dated September 2026 β and that's the whole page, bestie! go forth and unwind those stacks πΈβ¨π π¦ π
π¦ 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