1FUNCTION::ADDR(3stap) Context Functions FUNCTION::ADDR(3stap)234
NAME
6function::addr - Address of the current probe point.7
SYNOPSIS
9addr:long()10
ARGUMENTS
12None13
DESCRIPTION
15Returns the instruction pointer from the current probe's register16state. Not all probe types have registers though, in which case zero is17returned. The returned address is suitable for use with functions like18symname and symdata.19
SEE ALSO
21tapset::context(3stap)22232425SystemTap Tapset Reference April 2023 FUNCTION::ADDR(3stap)