<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::usymdata</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="context_stp.html" title="Chapter 2. Context Functions"><link rel="prev" href="API-ustack.html" title="function::ustack"><link rel="next" href="API-usymname.html" title="function::usymname"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">function::usymdata</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ustack.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Context Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-usymname.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-usymdata"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::usymdata — Return the symbol and module offset of an address. </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> usymdata:string(addr:long) </pre></div><div class="refsect1"><a name="idp145145924"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p> The address to translate. </p></dd></dl></div></div><div class="refsect1"><a name="idp145147500"></a><h2>Description</h2><p> Returns the (function) symbol name associated with the given address in the current task if known, the offset from the start and the size of the symbol, plus the module name (between brackets). If symbol is unknown, but module is known, the offset inside the module, plus the size of the module is added. If any element is not known it will be omitted and if the symbol name is unknown it will return the hex string for the given address. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-ustack.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="context_stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-usymname.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::ustack</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">function::usymname</span></td></tr></table></div></body></html>