<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>probe::scheduler.ctxswitch</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="sched.stp.html" title="Chapter 8. Scheduler Tapset"><link rel="prev" href="API-scheduler-cpu-on.html" title="probe::scheduler.cpu_on"><link rel="next" href="API-scheduler-kthread-stop.html" title="probe::scheduler.kthread_stop"></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>probe::scheduler.ctxswitch</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-scheduler-cpu-on.html">Prev</a> </td><th width="60%" align="center">Chapter 8. Scheduler Tapset</th><td width="20%" align="right"> <a accesskey="n" href="API-scheduler-kthread-stop.html">Next</a></td></tr></table><hr></div><div class="refentry" title="probe::scheduler.ctxswitch"><a name="API-scheduler-ctxswitch"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>probe::scheduler.ctxswitch — A context switch is occuring. </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="synopsis">scheduler.ctxswitch </pre></div><div class="refsect1" title="Values"><a name="idp3865232"></a><h2>Values</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>prev_pid</code></em></span></dt><dd><p> The PID of the process to be switched out </p></dd><dt><span class="term"><em class="parameter"><code>name</code></em></span></dt><dd><p> name of the probe point </p></dd><dt><span class="term"><em class="parameter"><code>next_task_name</code></em></span></dt><dd><p> The name of the process to be switched in </p></dd><dt><span class="term"><em class="parameter"><code>nexttsk_state</code></em></span></dt><dd><p> the state of the process to be switched in </p></dd><dt><span class="term"><em class="parameter"><code>prev_priority</code></em></span></dt><dd><p> The priority of the process to be switched out </p></dd><dt><span class="term"><em class="parameter"><code>next_pid</code></em></span></dt><dd><p> The PID of the process to be switched in </p></dd><dt><span class="term"><em class="parameter"><code>next_priority</code></em></span></dt><dd><p> The priority of the process to be switched in </p></dd><dt><span class="term"><em class="parameter"><code>prevtsk_state</code></em></span></dt><dd><p> the state of the process to be switched out </p></dd><dt><span class="term"><em class="parameter"><code>next_tid</code></em></span></dt><dd><p> The TID of the process to be switched in </p></dd><dt><span class="term"><em class="parameter"><code>prev_task_name</code></em></span></dt><dd><p> The name of the process to be switched out </p></dd><dt><span class="term"><em class="parameter"><code>prev_tid</code></em></span></dt><dd><p> The TID of the process to be switched out </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-scheduler-cpu-on.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sched.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-scheduler-kthread-stop.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>probe::scheduler.cpu_on</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>probe::scheduler.kthread_stop</span></td></tr></table></div></body></html>