1FUNCTION::ADDR(3stap)          Context Functions         FUNCTION::ADDR(3stap)
2
3
4

NAME

6       function::addr - Address of the current probe point.
7

SYNOPSIS

9           addr:long()
10

ARGUMENTS

12       None
13

DESCRIPTION

15       Returns the instruction pointer from the current probe's register
16       state. Not all probe types have registers though, in which case zero is
17       returned. The returned address is suitable for use with functions like
18       symname and symdata.
19

SEE ALSO

21       tapset::context(3stap)
22
23
24
25SystemTap Tapset Reference       November 2021           FUNCTION::ADDR(3stap)
Impressum