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. the s is 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:


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