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