TAPSET::UCONTEXT-SYMBOLS(3stap)
TAPSET::UCONTEXT-SYMBOLS β¨
okay bestie, welcome to the ucontext-symbols tapset β this is the tapset::ucontext-symbols page from the SystemTap Tapset Reference, and it's literally your little backstage pass to everything user-space-symbol related π
πΈ NAME πΈ
tapset::ucontext-symbols β the systemtap ucontext-symbols tapset, aka the girlies who tell you what all those mysterious addresses in your app actually mean π¦
β¨ DESCRIPTION β¨
so. the user context symbol functions are the ones that give you extra deets about addresses coming out of an application. like, you've got an address, cool, but who is she? π
these functions can hook you up with info about:
- the user space map (the library) that the event occurred in, or
- the function symbol of an address.
that's the whole vibe. now let's meet the cast π
π the functions π
ustackβ returns the return address at a given depth of the user stack backtrace. basically "who called whom, at depth N" π«Ά
see function::ustack(3stap) for details.
usymnameβ returns the symbol of an address in the current task. name that symbol, periodt β¨
see function::usymname(3stap) for details.
usymdataβ returns the symbol and module offset of an address. two-for-one, iconic π
see function::usymdata(3stap) for details.
print_ustackβ prints out the stack for the current task from a string. it does the printing so you don't have to π
see function::print_ustack(3stap) for details.
print_usymsβ prints out the user stack from a string. yes queen, show us everything π₯
see function::print_usyms(3stap) for details.
sprint_ustackβ returns the stack for the current task from a string. thesis for "string, bestie, we're returning it not printing it" π
see function::sprint_ustack(3stap) for details.
sprint_usymsβ returns the stack for user addresses from a string. same energy, user addresses edition πΈ
see function::sprint_usyms(3stap) for details.
usymfilelineβ returns the file name and line number of an address. the full receipt, name and line π§Ύ
see function::usymfileline(3stap) for details.
usymfileβ returns the file name of a given address. just the file, no extras, lowkey mysterious π
see function::usymfile(3stap) for details.
usymlineβ returns the line number of an address. the little number that tells you exactly where you are π
see function::usymline(3stap) for details.
π SEE ALSO π
go read these next, fr fr β they're the whole friend group:
function::ustack(3stap)function::usymname(3stap)function::usymdata(3stap)function::print_ustack(3stap)function::print_usyms(3stap)function::sprint_ustack(3stap)function::sprint_usyms(3stap)function::usymfileline(3stap)function::usymfile(3stap)function::usymline(3stap)stap(1)stapprobes(3stap)
and that's the page bestie!! π this was brought to you by the SystemTap Tapset Reference, dated September 2026 β mwah, go slay some backtraces πβ¨π¦
π¦ 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