2727692a |
1 | <?xml version="1.0"?> |
2 | <facility name="timer"> |
3 | <description>The timer facility has events related to timer events in the kernel.</description> |
4 | |
5 | <type name="itimer_kind"> |
6 | <enum> |
a949a860 |
7 | <label name="ITIMER_REAL" value="0"/> <description>decrements in real time, |
2727692a |
8 | and delivers SIGALRM upon expiration.</description> |
a949a860 |
9 | <label name="ITIMER_VIRTUAL" value="1"/> <description>decrements only when the |
2727692a |
10 | process is executing, and delivers SIGVTALRM upon expiration.</description> |
a949a860 |
11 | <label name="ITIMER_PROF" value="2"/> <description>decrements both when the |
2727692a |
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 | |
19 | <event name="expired"> |
20 | <description>A timer or itimer has expired.</description> |
21 | <field name="pid"> |
22 | <description>PID of the process to wake up.</description> |
a949a860 |
23 | <uint size="4"/> |
2727692a |
24 | </field> |
25 | </event> |
26 | |
27 | <event name="softirq"> |
28 | <description>The timer softirq is currently runned.</description> |
29 | </event> |
30 | |
31 | <event name="set_itimer"> |
32 | <description>An interval timer is set.</description> |
33 | <field name="which"> <description>kind of interval timer.</description> |
a949a860 |
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> |
2727692a |
40 | </event> |
41 | |
ce0c53b1 |
42 | <event name="set_timer"> |
43 | <description>A timer is added/modified/migrated.</description> |
44 | <field name="expires"><ulong/></field> |
45 | <field name="function"><pointer/></field> |
efe784ea |
46 | <field name="data"><ulong/></field> |
ce0c53b1 |
47 | </event> |
48 | |
2727692a |
49 | </facility> |