FUNCTION::ADDR

Section: Context Functions (3stap)
Updated: November 2022
Index Return to Main Contents
 

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.  

SEE ALSO

tapset::context(3stap)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 15:22:16 GMT, November 16, 2022