<facility name=kernel>
<description>The kernel facility has events related to kernel execution status.</description>
+ <type name=tasklet_priority>
+ <enum>
+ <label name=LOW value=0/> <description>Low priority tasklet</description>
+ <label name=HIGH value=1/> <description>High priority tasklet</description>
+ </enum>
+ </type>
+
+ <type name=irq_mode>
+ <enum>
+ <label name=user value=0/> <description>User context</description>
+ <label name=kernel value=1/> <description>Kernel context</description>
+ </enum>
+ </type>
+
<event name=syscall_entry>
<description>System call entry</description>
<field name="syscall_id"> <description>Syscall entry number in entry.S</description> <uint size=1/> </field>
<description>Exit from an IRQ</description>
</event>
- <type name=tasklet_priority>
- <enum>
- <label name=LOW value=0/> <description>Low priority tasklet</description>
- <label name=HIGH value=1/> <description>High priority tasklet</description>
- </enum>
- </type>
-
- <type name=irq_mode>
- <enum>
- <label name=user value=0/> <description>User context</description>
- <label name=kernel value=1/> <description>Kernel context</description>
- </enum>
- </type>
-
</facility>
<description>The process facility has events related to process handling in
the kernel.</description>
+ <type name=signal_name>
+ <enum>
+ <label name=SIGHUP value=1/> <description>Hangup (POSIX).</description>
+ <label name=SIGINT value=2/> <description>Interrupt (ANSI).</description>
+ <label name=SIGQUIT value=3/> <description>Quit (POSIX).</description>
+ <label name=SIGILL value=4/> <description>Illegal instruction (ANSI).</description>
+ <label name=SIGTRAP value=5/> <description>Trace trap (POSIX).</description>
+ <label name=SIGABRT value=6/> <description>Abort (ANSI).</description>
+ <label name=SIGBUS value=7/> <description>BUS error (4.2 BSD).</description>
+ <label name=SIGFPE value=8/> <description>Floating-point exception (ANSI).</description>
+ <label name=SIGKILL value=9/> <description>Kill, unblockable (POSIX).</description>
+ <label name=SIGUSR1 value=10/> <description>User-defined signal 1 (POSIX).</description>
+ <label name=SIGSEGV value=11/> <description>Segmentation violation (ANSI).</description>
+ <label name=SIGUSR2 value=12/> <description>User-defined signal 2 (POSIX).</description>
+ <label name=SIGPIPE value=13/> <description>Broken pipe (POSIX).</description>
+ <label name=SIGALRM value=14/> <description>Alarm clock (POSIX).</description>
+ <label name=SIGTERM value=15/> <description>Termination (ANSI).</description>
+ <label name=SIGSTKFLT value=16/> <description>Stack fault.</description>
+
+ <label name=SIGCHLD value=17/> <description>Child status has changed (POSIX).</description>
+ <label name=SIGCONT value=18/> <description>Continue (POSIX).</description>
+ <label name=SIGSTOP value=19/> <description>Stop, unblockable (POSIX).</description>
+ <label name=SIGTSTP value=20/> <description>Keyboard stop (POSIX).</description>
+ <label name=SIGTTIN value=21/> <description>Background read from tty (POSIX).</description>
+ <label name=SIGTTOU value=22/> <description>Background write to tty (POSIX).</description>
+ <label name=SIGURG value=23/> <description>Urgent condition on socket (4.2 BSD).</description>
+ <label name=SIGXCPU value=24/> <description>CPU limit exceeded (4.2 BSD).</description>
+ <label name=SIGXFSZ value=25/> <description>File size limit exceeded (4.2 BSD).</description>
+ <label name=SIGVTALRM value=26/> <description>Virtual alarm clock (4.2 BSD).</description>
+ <label name=SIGPROF value=27/> <description>Profiling alarm clock (4.2 BSD).</description>
+ <label name=SIGWINCH value=28/> <description>Window size change (4.3 BSD, Sun).</description>
+ <label name=SIGIO value=29/> <description>I/O now possible (4.2 BSD). (aka SIGPOLL)</description>
+ <label name=SIGPWR value=30/> <description>Power failure restart (System V).</description>
+ <label name=SIGSYS value=31/> <description>Bad system call.</description>
+ </enum>
+ </type>
+
<event name=fork>
<description>Process fork</description>
<field name="parent_pid"> <description>PID of the parent process</description> <uint size=4/> </field>
<field name="out_state"> <description>Outgoing process' state. -1 unrunnable, 0 runnable, >0 stopped.</description> <int size=4/> </field>
</event>
- <type name=signal_name>
- <enum>
- <label name=SIGHUP value=1/> <description>Hangup (POSIX).</description>
- <label name=SIGINT value=2/> <description>Interrupt (ANSI).</description>
- <label name=SIGQUIT value=3/> <description>Quit (POSIX).</description>
- <label name=SIGILL value=4/> <description>Illegal instruction (ANSI).</description>
- <label name=SIGTRAP value=5/> <description>Trace trap (POSIX).</description>
- <label name=SIGABRT value=6/> <description>Abort (ANSI).</description>
- <label name=SIGBUS value=7/> <description>BUS error (4.2 BSD).</description>
- <label name=SIGFPE value=8/> <description>Floating-point exception (ANSI).</description>
- <label name=SIGKILL value=9/> <description>Kill, unblockable (POSIX).</description>
- <label name=SIGUSR1 value=10/> <description>User-defined signal 1 (POSIX).</description>
- <label name=SIGSEGV value=11/> <description>Segmentation violation (ANSI).</description>
- <label name=SIGUSR2 value=12/> <description>User-defined signal 2 (POSIX).</description>
- <label name=SIGPIPE value=13/> <description>Broken pipe (POSIX).</description>
- <label name=SIGALRM value=14/> <description>Alarm clock (POSIX).</description>
- <label name=SIGTERM value=15/> <description>Termination (ANSI).</description>
- <label name=SIGSTKFLT value=16/> <description>Stack fault.</description>
-
- <label name=SIGCHLD value=17/> <description>Child status has changed (POSIX).</description>
- <label name=SIGCONT value=18/> <description>Continue (POSIX).</description>
- <label name=SIGSTOP value=19/> <description>Stop, unblockable (POSIX).</description>
- <label name=SIGTSTP value=20/> <description>Keyboard stop (POSIX).</description>
- <label name=SIGTTIN value=21/> <description>Background read from tty (POSIX).</description>
- <label name=SIGTTOU value=22/> <description>Background write to tty (POSIX).</description>
- <label name=SIGURG value=23/> <description>Urgent condition on socket (4.2 BSD).</description>
- <label name=SIGXCPU value=24/> <description>CPU limit exceeded (4.2 BSD).</description>
- <label name=SIGXFSZ value=25/> <description>File size limit exceeded (4.2 BSD).</description>
- <label name=SIGVTALRM value=26/> <description>Virtual alarm clock (4.2 BSD).</description>
- <label name=SIGPROF value=27/> <description>Profiling alarm clock (4.2 BSD).</description>
- <label name=SIGWINCH value=28/> <description>Window size change (4.3 BSD, Sun).</description>
- <label name=SIGIO value=29/> <description>I/O now possible (4.2 BSD). (aka SIGPOLL)</description>
- <label name=SIGPWR value=30/> <description>Power failure restart (System V).</description>
- <label name=SIGSYS value=31/> <description>Bad system call.</description>
- </enum>
- </type>
-
-
</facility>
<facility name=timer>
<description>The timer facility has events related to timer events in the kernel.</description>
+ <type name=itimer_kind>
+ <enum>
+ <label name=ITIMER_REAL value=0/> <description>decrements in real time,
+ and delivers SIGALRM upon expiration.</description>
+ <label name=ITIMER_VIRTUAL value=1/> <description>decrements only when the
+ process is executing, and delivers SIGVTALRM upon expiration.</description>
+ <label name=ITIMER_PROF value=2/> <description>decrements both when the
+ process executes and when the system is executing on behalf of the
+ process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
+ profile the time spent by the application in user and kernel space.
+ SIGPROF is delivered upon expiration.</description>
+ </enum>
+ </type>
+
<event name=expired>
<description>A timer or itimer has expired.</description>
<field name="pid"> <description>PID of the process to wake up.</description> <uint size=4/> </field>
<field name="value_microseconds"><uint size=4/></field>
</event>
- <type name=itimer_kind>
- <enum>
- <label name=ITIMER_REAL value=0/> <description>decrements in real time,
- and delivers SIGALRM upon expiration.</description>
- <label name=ITIMER_VIRTUAL value=1/> <description>decrements only when the
- process is executing, and delivers SIGVTALRM upon expiration.</description>
- <label name=ITIMER_PROF value=2/> <description>decrements both when the
- process executes and when the system is executing on behalf of the
- process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
- profile the time spent by the application in user and kernel space.
- SIGPROF is delivered upon expiration.</description>
- </enum>
- </type>
-
</facility>