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
20
21
22SystemTap Tapset Reference        August 2011            FUNCTION::ADDR(3stap)
Impressum