1FUNCTION::ADDR(3stap) Context Functions FUNCTION::ADDR(3stap)
23
4
NAME
6function::addr - Address of the current probe point.
7
SYNOPSIS
9addr:long()
10
ARGUMENTS
12None
13
DESCRIPTION
15Returns the instruction pointer from the current probe's register
16state. Not all probe types have registers though, in which case zero is
17returned. The returned address is suitable for use with functions like
18symname and symdata.
19
SEE ALSO
21tapset::context(3stap)
2223
24
25
SystemTap Tapset Reference May 2019 FUNCTION::ADDR(3stap)