<facility name=timer>
<description>The timer facility has events related to timer events in the kernel.</description>
- <event name=expired>
- <description>A timer or itimer has expired.</description>
- <struct>
- <field name="pid"> <description>PID of the process to wake up.</description> <uint size=4/> </field>
- </struct>
- </event>
-
- <event name=softirq>
- <description>The timer softirq is currently runned.</description>
- </event>
-
- <event name=set_itimer>
- <description>An interval timer is set.</description>
- <struct>
- <field name="which"> <description>kind of interval timer.</description>
- <typeref name=itimer_kind/></field>
- <field name="interval_seconds"><uint size=4/></field>
- <field name="interval_microseconds"><uint size=4/></field>
- <field name="value_seconds"><uint size=4/></field>
- <field name="value_microseconds"><uint size=4/></field>
- </struct>
- </event>
-
<type name=itimer_kind>
- <enum size=4>
+ <enum>
<label name=ITIMER_REAL value=0/> <description>decrements in real time,
and delivers SIGALRM upon expiration.</description>
<label name=ITIMER_VIRTUAL value=1/> <description>decrements only when the
</enum>
</type>
+ <event name=expired>
+ <description>A timer or itimer has expired.</description>
+ <field name="pid"> <description>PID of the process to wake up.</description> <uint size=4/> </field>
+ </event>
+
+ <event name=softirq>
+ <description>The timer softirq is currently runned.</description>
+ </event>
+
+ <event name=set_itimer>
+ <description>An interval timer is set.</description>
+ <field name="which"> <description>kind of interval timer.</description>
+ <typeref name=itimer_kind/></field>
+ <field name="interval_seconds"><uint size=4/></field>
+ <field name="interval_microseconds"><uint size=4/></field>
+ <field name="value_seconds"><uint size=4/></field>
+ <field name="value_microseconds"><uint size=4/></field>
+ </event>
+
</facility>