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> |
c3e2873f |
7 | <label name="ITIMER_REAL" value="0"/> <description>decrements in real time, |
e56575d5 |
8 | and delivers SIGALRM upon expiration.</description> |
c3e2873f |
9 | <label name="ITIMER_VIRTUAL" value="1"/> <description>decrements only when the |
e56575d5 |
10 | process is executing, and delivers SIGVTALRM upon expiration.</description> |
c3e2873f |
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> |
c3e2873f |
23 | <uint size="4"/> |
d1795f42 |
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> |
c3e2873f |
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 | |
a898f158 |
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> |
972e0dba |
46 | <field name="data"><ulong/></field> |
a898f158 |
47 | </event> |
48 | |
d9afd206 |
49 | <event name="update_time"> |
50 | <description>The time is updated (timer interrupt).</description> |
51 | <field name="jiffies"><uint_fixed size="8"/></field> |
ac8ad283 |
52 | <field name="wall_tv_sec"><long/></field> |
53 | <field name="wall_tv_nsec"><long/></field> |
54 | <field name="wall_to_monotonic_tv_sec"><long/></field> |
55 | <field name="wall_to_monotonic_tv_nsec"><long/></field> |
d9afd206 |
56 | </event> |
57 | |
31cbc5d3 |
58 | </facility> |