TAPSET::CONTEXT-SYMBOLS(3stap) TAPSET::CONTEXT-SYMBOLS(3stap)

# [NAME](#NAME)

tapset::context-symbols - systemtap context-symbols tapset

# [DESCRIPTION](#DESCRIPTION)

Context functions provide additional information about where an event occurred. These functions can provide information such as a backtrace to where the event occurred and the current register values for the processor.

[**stack**](#stack)

Return address at given depth of kernel stack backtrace

See [*function::stack*(3stap)](/man/enterprise-packages/systemtap/function::stack.3stap)  
for details.

[**print\_stack**](#print_stack)

Print out kernel stack from string

See [*function::print\_stack*(3stap)](/man/enterprise-packages/systemtap/function::print_stack.3stap)  
for details.

[**sprint\_stack**](#sprint_stack)

Return stack for kernel addresses from string

See [*function::sprint\_stack*(3stap)](/man/enterprise-packages/systemtap/function::sprint_stack.3stap)  
for details.

[**probefunc**](#probefunc)

Return the probe point's function name, if known

See [*function::probefunc*(3stap)](/man/enterprise-packages/systemtap/function::probefunc.3stap)  
for details.

[**probemod**](#probemod)

Return the probe point's kernel module name

See [*function::probemod*(3stap)](/man/enterprise-packages/systemtap/function::probemod.3stap)  
for details.

[**modname**](#modname)

Return the kernel module name loaded at the address

See [*function::modname*(3stap)](/man/enterprise-packages/systemtap/function::modname.3stap)  
for details.

[**symname**](#symname)

Return the kernel symbol associated with the given address

See [*function::symname*(3stap)](/man/enterprise-packages/systemtap/function::symname.3stap)  
for details.

[**symdata**](#symdata)

Return the kernel symbol and module offset for the address

See [*function::symdata*(3stap)](/man/enterprise-packages/systemtap/function::symdata.3stap)  
for details.

[**print\_syms**](#print_syms)

Print out kernel stack from string

See [*function::print\_syms*(3stap)](/man/enterprise-packages/systemtap/function::print_syms.3stap)  
for details.

[**sprint\_syms**](#sprint_syms)

Return stack for kernel addresses from string

See [*function::sprint\_syms*(3stap)](/man/enterprise-packages/systemtap/function::sprint_syms.3stap)  
for details.

[**symfileline**](#symfileline)

Return the file name and line number of an address.

See [*function::symfileline*(3stap)](/man/enterprise-packages/systemtap/function::symfileline.3stap)  
for details.

[**usymfile**](#usymfile)

Return the file name of a given address.

See [*function::usymfile*(3stap)](/man/enterprise-packages/systemtap/function::usymfile.3stap)  
for details.

[**usymline**](#usymline)

Return the line number of an address.

See [*function::usymline*(3stap)](/man/enterprise-packages/systemtap/function::usymline.3stap)  
for details.

# [SEE ALSO](#SEE_ALSO)

[*function::stack*(3stap)](/man/enterprise-packages/systemtap/function::stack.3stap), [*function::print\_stack*(3stap)](/man/enterprise-packages/systemtap/function::print_stack.3stap), [*function::sprint\_stack*(3stap)](/man/enterprise-packages/systemtap/function::sprint_stack.3stap), [*function::probefunc*(3stap)](/man/enterprise-packages/systemtap/function::probefunc.3stap), [*function::probemod*(3stap)](/man/enterprise-packages/systemtap/function::probemod.3stap), [*function::modname*(3stap)](/man/enterprise-packages/systemtap/function::modname.3stap), [*function::symname*(3stap)](/man/enterprise-packages/systemtap/function::symname.3stap), [*function::symdata*(3stap)](/man/enterprise-packages/systemtap/function::symdata.3stap), [*function::print\_syms*(3stap)](/man/enterprise-packages/systemtap/function::print_syms.3stap), [*function::sprint\_syms*(3stap)](/man/enterprise-packages/systemtap/function::sprint_syms.3stap), [*function::symfileline*(3stap)](/man/enterprise-packages/systemtap/function::symfileline.3stap), [*function::usymfile*(3stap)](/man/enterprise-packages/systemtap/function::usymfile.3stap), [*function::usymline*(3stap)](/man/enterprise-packages/systemtap/function::usymline.3stap), [*stap*(1)](/man/enterprise-packages/systemtap/stap.1), [*stapprobes*(3stap)](/man/enterprise-packages/systemtap/stapprobes.3stap)

September 2026 SystemTap Tapset Reference

---

Document: tapset::context-symbols(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
