| 1 |
.\" -*- nroff -*- |
| 2 |
.TH TAPSET::CONTEXT-SYMBOLS 3stap "October 2025" "SystemTap Tapset Reference" |
| 3 |
.SH NAME |
| 4 |
tapset::context-symbols \- systemtap context-symbols tapset |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
|
| 8 |
Context functions provide additional information about where an event occurred. These functions can |
| 9 |
provide information such as a backtrace to where the event occurred and the current register values for the |
| 10 |
processor. |
| 11 |
|
| 12 |
.TP |
| 13 |
.P |
| 14 |
.TP |
| 15 |
.B stack |
| 16 |
Return address at given depth of kernel stack backtrace |
| 17 |
.IP |
| 18 |
See |
| 19 |
.IR function::stack (3stap) |
| 20 |
for details. |
| 21 |
.P |
| 22 |
.TP |
| 23 |
.B print_stack |
| 24 |
Print out kernel stack from string |
| 25 |
.IP |
| 26 |
See |
| 27 |
.IR function::print_stack (3stap) |
| 28 |
for details. |
| 29 |
.P |
| 30 |
.TP |
| 31 |
.B sprint_stack |
| 32 |
Return stack for kernel addresses from string |
| 33 |
.IP |
| 34 |
See |
| 35 |
.IR function::sprint_stack (3stap) |
| 36 |
for details. |
| 37 |
.P |
| 38 |
.TP |
| 39 |
.B probefunc |
| 40 |
Return the probe point's function name, if known |
| 41 |
.IP |
| 42 |
See |
| 43 |
.IR function::probefunc (3stap) |
| 44 |
for details. |
| 45 |
.P |
| 46 |
.TP |
| 47 |
.B probemod |
| 48 |
Return the probe point's kernel module name |
| 49 |
.IP |
| 50 |
See |
| 51 |
.IR function::probemod (3stap) |
| 52 |
for details. |
| 53 |
.P |
| 54 |
.TP |
| 55 |
.B modname |
| 56 |
Return the kernel module name loaded at the address |
| 57 |
.IP |
| 58 |
See |
| 59 |
.IR function::modname (3stap) |
| 60 |
for details. |
| 61 |
.P |
| 62 |
.TP |
| 63 |
.B symname |
| 64 |
Return the kernel symbol associated with the given address |
| 65 |
.IP |
| 66 |
See |
| 67 |
.IR function::symname (3stap) |
| 68 |
for details. |
| 69 |
.P |
| 70 |
.TP |
| 71 |
.B symdata |
| 72 |
Return the kernel symbol and module offset for the address |
| 73 |
.IP |
| 74 |
See |
| 75 |
.IR function::symdata (3stap) |
| 76 |
for details. |
| 77 |
.P |
| 78 |
.TP |
| 79 |
.B print_syms |
| 80 |
Print out kernel stack from string |
| 81 |
.IP |
| 82 |
See |
| 83 |
.IR function::print_syms (3stap) |
| 84 |
for details. |
| 85 |
.P |
| 86 |
.TP |
| 87 |
.B sprint_syms |
| 88 |
Return stack for kernel addresses from string |
| 89 |
.IP |
| 90 |
See |
| 91 |
.IR function::sprint_syms (3stap) |
| 92 |
for details. |
| 93 |
.P |
| 94 |
.TP |
| 95 |
.B symfileline |
| 96 |
Return the file name and line number of an address. |
| 97 |
.IP |
| 98 |
See |
| 99 |
.IR function::symfileline (3stap) |
| 100 |
for details. |
| 101 |
.P |
| 102 |
.TP |
| 103 |
.B usymfile |
| 104 |
Return the file name of a given address. |
| 105 |
.IP |
| 106 |
See |
| 107 |
.IR function::usymfile (3stap) |
| 108 |
for details. |
| 109 |
.P |
| 110 |
.TP |
| 111 |
.B usymline |
| 112 |
Return the line number of an address. |
| 113 |
.IP |
| 114 |
See |
| 115 |
.IR function::usymline (3stap) |
| 116 |
for details. |
| 117 |
|
| 118 |
.SH SEE ALSO |
| 119 |
.BR |
| 120 |
.IR \%function::stack (3stap), |
| 121 |
.BR |
| 122 |
.IR \%function::print_stack (3stap), |
| 123 |
.BR |
| 124 |
.IR \%function::sprint_stack (3stap), |
| 125 |
.BR |
| 126 |
.IR \%function::probefunc (3stap), |
| 127 |
.BR |
| 128 |
.IR \%function::probemod (3stap), |
| 129 |
.BR |
| 130 |
.IR \%function::modname (3stap), |
| 131 |
.BR |
| 132 |
.IR \%function::symname (3stap), |
| 133 |
.BR |
| 134 |
.IR \%function::symdata (3stap), |
| 135 |
.BR |
| 136 |
.IR \%function::print_syms (3stap), |
| 137 |
.BR |
| 138 |
.IR \%function::sprint_syms (3stap), |
| 139 |
.BR |
| 140 |
.IR \%function::symfileline (3stap), |
| 141 |
.BR |
| 142 |
.IR \%function::usymfile (3stap), |
| 143 |
.BR |
| 144 |
.IR \%function::usymline (3stap), |
| 145 |
.BR |
| 146 |
.IR \%stap (1), |
| 147 |
.IR \%stapprobes (3stap) |