DOKK / manpages / debian 11 / systemtap-doc / function::addr.3stap.en
FUNCTION::ADDR(3stap) Context Functions FUNCTION::ADDR(3stap)

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


addr:long()

None

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

tapset::context(3stap)

November 2020 SystemTap Tapset Reference