---
name: "tapset::context-symbols"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tapset::context-symbols"
---

# tapset::context-symbols(3stap)

systemtap context-symbols tapset

## NAME

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

## 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**

  Return address at given depth of kernel stack backtrace

-

  See  [*function::stack*(3stap)](/function::stack/3stap.md)\
    for details.

- **print\_stack**

  Print out kernel stack from string

-

  See  [*function::print\_stack*(3stap)](/function::print_stack/3stap.md)\
    for details.

- **sprint\_stack**

  Return stack for kernel addresses from string

-

  See  [*function::sprint\_stack*(3stap)](/function::sprint_stack/3stap.md)\
    for details.

- **probefunc**

  Return the probe point's function name, if known

-

  See  [*function::probefunc*(3stap)](/function::probefunc/3stap.md)\
    for details.

- **probemod**

  Return the probe point's kernel module name

-

  See  [*function::probemod*(3stap)](/function::probemod/3stap.md)\
    for details.

- **modname**

  Return the kernel module name loaded at the address

-

  See  [*function::modname*(3stap)](/function::modname/3stap.md)\
    for details.

- **symname**

  Return the kernel symbol associated with the given address

-

  See  [*function::symname*(3stap)](/function::symname/3stap.md)\
    for details.

- **symdata**

  Return the kernel symbol and module offset for the address

-

  See  [*function::symdata*(3stap)](/function::symdata/3stap.md)\
    for details.

- **print\_syms**

  Print out kernel stack from string

-

  See  [*function::print\_syms*(3stap)](/function::print_syms/3stap.md)\
    for details.

- **sprint\_syms**

  Return stack for kernel addresses from string

-

  See  [*function::sprint\_syms*(3stap)](/function::sprint_syms/3stap.md)\
    for details.

- **symfileline**

  Return the file name and line number of an address.

-

  See  [*function::symfileline*(3stap)](/function::symfileline/3stap.md)\
    for details.

- **usymfile**

  Return the file name of a given address.

-

  See  [*function::usymfile*(3stap)](/function::usymfile/3stap.md)\
    for details.

- **usymline**

  Return the line number of an address.

-

  See  [*function::usymline*(3stap)](/function::usymline/3stap.md)\
    for details.

## SEE ALSO

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