add ltt-control
[lttv.git] / ltt / branches / poly / facilities / timer.xml
CommitLineData
89521fdc 1<?xml version="1.0"?>
d1795f42 2<facility name="timer">
31cbc5d3 3 <description>The timer facility has events related to timer events in the kernel.</description>
4
d1795f42 5 <type name="itimer_kind">
e56575d5 6 <enum>
d1795f42 7 <label name="ITIMER_REAL" value="0"> <description>decrements in real time,
e56575d5 8 and delivers SIGALRM upon expiration.</description>
d1795f42 9 <label name="ITIMER_VIRTUAL" value="1"> <description>decrements only when the
e56575d5 10 process is executing, and delivers SIGVTALRM upon expiration.</description>
d1795f42 11 <label name="ITIMER_PROF" value="2"> <description>decrements both when the
e56575d5 12 process executes and when the system is executing on behalf of the
13 process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
14 profile the time spent by the application in user and kernel space.
15 SIGPROF is delivered upon expiration.</description>
16 </enum>
17 </type>
18
d1795f42 19 <event name="expired">
31cbc5d3 20 <description>A timer or itimer has expired.</description>
d1795f42 21 <field name="pid">
22 <description>PID of the process to wake up.</description>
23 <uint size="4">
24 </field>
31cbc5d3 25 </event>
26
d1795f42 27 <event name="softirq">
31cbc5d3 28 <description>The timer softirq is currently runned.</description>
29 </event>
30
d1795f42 31 <event name="set_itimer">
31cbc5d3 32 <description>An interval timer is set.</description>
42bddb4f 33 <field name="which"> <description>kind of interval timer.</description>
d1795f42 34 <typeref name="itimer_kind">
35 </field>
36 <field name="interval_seconds"><uint size="4"></field>
37 <field name="interval_microseconds"><uint size="4"></field>
38 <field name="value_seconds"><uint size="4"></field>
39 <field name="value_microseconds"><uint size="4"></field>
31cbc5d3 40 </event>
41
31cbc5d3 42</facility>
This page took 0.029362 seconds and 4 git commands to generate.