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