Scroll to navigation

FUNCTION:(3stap) Context Functions FUNCTION:(3stap)

function::addr
 

NAME

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

SYNOPSIS

    addr:long()

ARGUMENTS

None

DESCRIPTION

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.
May 2013 SystemTap Tapset Reference