<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>enum utrace_resume_action</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The utrace User Debugging Infrastructure" /><link rel="up" href="ch02.html" title="Chapter 2. utrace core API" /><link rel="prev" href="ch02.html" title="Chapter 2. utrace core API" /><link rel="next" href="re02.html" title="utrace_resume_action" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>enum utrace_resume_action</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. utrace core API</th><td width="20%" align="right"> <a accesskey="n" href="re02.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="enum utrace_resume_action"><a id="API-enum-utrace-resume-action"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum utrace_resume_action — engine's choice of action for a traced task </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> enum utrace_resume_action { UTRACE_STOP, UTRACE_INTERRUPT, UTRACE_REPORT, UTRACE_SINGLESTEP, UTRACE_BLOCKSTEP, UTRACE_RESUME, UTRACE_DETACH, UTRACE_RESUME_MAX }; </pre></div><div class="refsect1" title="Constants"><a id="id2888201"></a><h2>Constants</h2><div class="variablelist"><dl><dt><span class="term">UTRACE_STOP</span></dt><dd><p> Stay quiescent after callbacks. </p></dd><dt><span class="term">UTRACE_INTERRUPT</span></dt><dd><p> Make <em class="parameter"><code>report_signal</code></em>() callback soon. </p></dd><dt><span class="term">UTRACE_REPORT</span></dt><dd><p> Make some callback soon. </p></dd><dt><span class="term">UTRACE_SINGLESTEP</span></dt><dd><p> Resume in user mode for one instruction. </p></dd><dt><span class="term">UTRACE_BLOCKSTEP</span></dt><dd><p> Resume in user mode until next branch. </p></dd><dt><span class="term">UTRACE_RESUME</span></dt><dd><p> Resume normally in user mode. </p></dd><dt><span class="term">UTRACE_DETACH</span></dt><dd><p> Detach my engine (implies <code class="constant">UTRACE_RESUME</code>). </p></dd><dt><span class="term">UTRACE_RESUME_MAX</span></dt><dd><p> -- undescribed -- </p></dd></dl></div></div><div class="refsect1" title="Description"><a id="id2888308"></a><h2>Description</h2><p> See <code class="function">utrace_control</code> for detailed descriptions of each action. This is encoded in the <em class="parameter"><code>action</code></em> argument and the return value for every callback with a <span class="structname">u32</span> return value. </p><p> The order of these is important. When there is more than one engine, each supplies its choice and the smallest value prevails. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. utrace core API </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>utrace_resume_action</span></td></tr></table></div></body></html>