add ltt-control
[lttv.git] / ltt / branches / poly / facilities / process.xml
CommitLineData
d1795f42 1<?xml version="1.0"?>
2<facility name="process">
3 <description>The process facility has events related to process handling in the kernel.</description>
31cbc5d3 4
d1795f42 5 <type name="signal_name">
e56575d5 6 <enum>
d1795f42 7 <label name="SIGHUP" value="1"> <description>Hangup (POSIX).</description>
8 <label name="SIGINT" value="2"> <description>Interrupt (ANSI).</description>
9 <label name="SIGQUIT" value="3"> <description>Quit (POSIX).</description>
10 <label name="SIGILL" value="4"> <description>Illegal instruction (ANSI).</description>
11 <label name="SIGTRAP" value="5"> <description>Trace trap (POSIX).</description>
12 <label name="SIGABRT" value="6"> <description>Abort (ANSI).</description>
13 <label name="SIGBUS" value="7"> <description>BUS error (4.2 BSD).</description>
14 <label name="SIGFPE" value="8"> <description>Floating-point exception (ANSI).</description>
15 <label name="SIGKILL" value="9"> <description>Kill, unblockable (POSIX).</description>
16 <label name="SIGUSR1" value="10"> <description>User-defined signal 1 (POSIX).</description>
17 <label name="SIGSEGV" value="11"> <description>Segmentation violation (ANSI).</description>
18 <label name="SIGUSR2" value="12"> <description>User-defined signal 2 (POSIX).</description>
19 <label name="SIGPIPE" value="13"> <description>Broken pipe (POSIX).</description>
20 <label name="SIGALRM" value="14"> <description>Alarm clock (POSIX).</description>
21 <label name="SIGTERM" value="15"> <description>Termination (ANSI).</description>
22 <label name="SIGSTKFLT" value="16"> <description>Stack fault.</description>
e56575d5 23
d1795f42 24 <label name="SIGCHLD" value="17"> <description>Child status has changed (POSIX).</description>
25 <label name="SIGCONT" value="18"> <description>Continue (POSIX).</description>
26 <label name="SIGSTOP" value="19"> <description>Stop, unblockable (POSIX).</description>
27 <label name="SIGTSTP" value="20"> <description>Keyboard stop (POSIX).</description>
28 <label name="SIGTTIN" value="21"> <description>Background read from tty (POSIX).</description>
29 <label name="SIGTTOU" value="22"> <description>Background write to tty (POSIX).</description>
30 <label name="SIGURG" value="23"> <description>Urgent condition on socket (4.2 BSD).</description>
31 <label name="SIGXCPU" value="24"> <description>CPU limit exceeded (4.2 BSD).</description>
32 <label name="SIGXFSZ" value="25"> <description>File size limit exceeded (4.2 BSD).</description>
33 <label name="SIGVTALRM" value="26"> <description>Virtual alarm clock (4.2 BSD).</description>
34 <label name="SIGPROF" value="27"> <description>Profiling alarm clock (4.2 BSD).</description>
35 <label name="SIGWINCH" value="28"> <description>Window size change (4.3 BSD, Sun).</description>
36 <label name="SIGIO" value="29"> <description>I/O now possible (4.2 BSD). (aka SIGPOLL)</description>
37 <label name="SIGPWR" value="30"> <description>Power failure restart (System V).</description>
38 <label name="SIGSYS" value="31"> <description>Bad system call.</description>
e56575d5 39 </enum>
40 </type>
41
d1795f42 42 <event name="fork">
31cbc5d3 43 <description>Process fork</description>
d1795f42 44 <field name="parent_pid"> <description>PID of the parent process</description> <uint> </field>
45 <field name="child_pid"> <description>PID of the child process</description> <uint> </field>
31cbc5d3 46 </event>
47
d1795f42 48 <event name="kernel_thread">
31cbc5d3 49 <description>Just created a new kernel thread</description>
d1795f42 50 <field name="pid"> <description>PID of the kernel thread</description> <uint> </field>
51 <field name="function"> <description>Function called</description> <pointer> </field>
31cbc5d3 52 </event>
53
54
d1795f42 55 <event name="exit">
31cbc5d3 56 <description>Process exit</description>
d1795f42 57 <field name="pid"> <description>PID of the process</description> <uint> </field>
31cbc5d3 58 </event>
59
d1795f42 60 <event name="wait">
31cbc5d3 61 <description>Process wait</description>
d1795f42 62 <field name="parent_pid"> <description>PID of the waiting process</description> <uint> </field>
63 <field name="child_pid"> <description>PID of the process waited for</description> <uint> </field>
31cbc5d3 64 </event>
65
d1795f42 66 <event name="free">
31cbc5d3 67 <description>Process kernel data structure free (end of life of a zombie)</description>
d1795f42 68 <field name="pid"> <description>PID of the freed process</description> <uint> </field>
31cbc5d3 69 </event>
70
d1795f42 71 <event name="kill">
31cbc5d3 72 <description>Process kill system call</description>
d1795f42 73 <field name="pid"> <description>PID of the process</description> <uint> </field>
74 <field name="target_pid"> <description>PID of the process to kill</description> <uint> </field>
75 <field name="signal"> <description>Signal number</description> <typeref name="signal_name"> </field>
31cbc5d3 76 </event>
77
d1795f42 78 <event name="signal">
31cbc5d3 79 <description>Process signal reception</description>
d1795f42 80 <field name="pid"> <description>PID of the receiving process</description> <uint> </field>
81 <field name="signal"> <description>Signal number</description> <typeref name="signal_name"> </field>
31cbc5d3 82 </event>
83
d1795f42 84 <event name="wakeup">
31cbc5d3 85 <description>Process wakeup</description>
d1795f42 86 <field name="pid"> <description>PID of the receiving process</description> <uint> </field>
87 <field name="state"> <description>State of the awakened process. -1 unrunnable, 0 runnable, >0 stopped.</description> <int> </field>
31cbc5d3 88 </event>
89
d1795f42 90 <event name="schedchange">
31cbc5d3 91 <description>Scheduling change</description>
d1795f42 92 <field name="out"> <description>Outgoing process</description> <uint> </field>
93 <field name="in"> <description>Incoming process</description> <uint> </field>
94 <field name="out_state"> <description>Outgoing process' state. -1 unrunnable, 0 runnable, >0 stopped.</description> <int> </field>
31cbc5d3 95 </event>
96
31cbc5d3 97</facility>
This page took 0.032298 seconds and 4 git commands to generate.