| 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> |
| 7 | <label name="ITIMER_REAL" value="0"> <description>decrements in real time, |
| 8 | and delivers SIGALRM upon expiration.</description> |
| 9 | <label name="ITIMER_VIRTUAL" value="1"> <description>decrements only when the |
| 10 | process is executing, and delivers SIGVTALRM upon expiration.</description> |
| 11 | <label name="ITIMER_PROF" value="2"> <description>decrements both when the |
| 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> |
| 23 | <uint size="4"> |
| 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> |
| 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> |
| 40 | </event> |
| 41 | |
| 42 | </facility> |