DOKK / manpages / debian 10 / systemtap-doc / function::uaddr.3stap.en
FUNCTION::UADDR(3stap) Context Functions FUNCTION::UADDR(3stap)

function::uaddr - User space address of current running task


uaddr:long()

None

Returns the address in userspace that the current task was at when the probe occurred. When the current running task isn't a user space thread, or the address cannot be found, zero is returned. Can be used to see where the current task is combined with usymname or usymdata. Often the task will be in the VDSO where it entered the kernel.

tapset::context(3stap)

October 2018 SystemTap Tapset Reference