FUNCTION::PRINT_SYMS(3stap)
π FUNCTION::PRINT_SYMS π
ok so bestie, this is a page from the 3stap manual β that's the SystemTap tapset reference, the Context Functions corner of it specifically β and today's main character is a lil function called print_syms. she's not flashy, but she is SO useful, trust. π«Ά
β¨ NAME β¨
function::print_syms β Print out kernel stack from string
πΈ SYNOPSIS πΈ
print_syms(callers:string)
π ARGUMENTS π
callersβ a string stuffed with a list of hexadecimal (kernel) addresses. like, a whole roster of them. π
π DESCRIPTION π
so what she does is: she takes that string of addresses and does a symbolic lookup on all of them. and listen β those addresses are assumed to be the result of prior calls to stack, callers, and similar functions. like, that's the vibe they're coming in with, okay? don't hand her random numbers and expect magic. π§
for every address, she prints one line. and that line is giving three things, no cap:
- the address itself
- the name of the function that contains that address
- an estimate of its position within that function β as obtained by
symdata
and then? she returns nothing. zero. nada. the printing IS the whole personality. π
π₯ SEE ALSO π₯
okay that's the whole page bestie, go forth and symbolically look up some addresses πβ¨
this has been a SystemTap Tapset Reference moment, September 2026 edition β mwah, bye! ππ¦π
π¦ 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