KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/22697/root/usr/share/doc/systemtap-client-1.8/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/doc/systemtap-client-1.8/re43.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::register</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="ch02.html" title="Chapter&#160;2.&#160;Context Functions"><link rel="prev" href="re42.html" title="function::pstrace"><link rel="next" href="re44.html" title="function::registers_valid"></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>function::register</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re42.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;2.&#160;Context Functions</th><td width="20%" align="right">&#160;<a accesskey="n" href="re44.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="API-register"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::register &#8212; 
  Return the signed value of the named CPU register
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
    register:long(name:string)
</pre></div><div class="refsect1" lang="en"><a name="idp5120272"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>name</code></em></span></dt><dd><p>
     Name of the register to return
    </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="idp5123488"></a><h2>Description</h2><p>
   Return the value of the named CPU register,
   as it was saved when the current probe point was hit.
   If the register is 32 bits, it is sign-extended to 64 bits.
   </p><p>

   For the i386 architecture, the following names are recognized.
   (name1/name2 indicates that name1 and name2 are alternative names
   for the same register.)
   eax/ax, ebp/bp, ebx/bx, ecx/cx, edi/di, edx/dx, eflags/flags,
   eip/ip, esi/si, esp/sp, orig_eax/orig_ax,
   xcs/cs, xds/ds, xes/es, xfs/fs, xss/ss.
   </p><p>

   For the x86_64 architecture, the following names are recognized:
   64-bit registers:
   r8, r9, r10, r11, r12, r13, r14, r15,
   rax/ax, rbp/bp, rbx/bx, rcx/cx, rdi/di, rdx/dx,
   rip/ip, rsi/si, rsp/sp;
   32-bit registers:
   eax, ebp, ebx, ecx, edx, edi, edx, eip, esi, esp, flags/eflags,
   orig_eax; segment registers: xcs/cs, xss/ss.
   </p><p>

   For powerpc, the following names are recognized:
   r0, r1, ... r31, nip, msr, orig_gpr3, ctr, link, xer, ccr, softe, trap,
   dar, dsisr, result.
   </p><p>

   For s390x, the following names are recognized:
   r0, r1, ... r15, args, psw.mask, psw.addr, orig_gpr2, ilc, trap.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re42.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re44.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::pstrace</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>function::registers_valid</span></td></tr></table></div></body></html>

Anon7 - 2021