add 0.6.0 split
[lttv.git] / ltt-control / facilities / statedump.xml
CommitLineData
d1795f42 1<?xml version="1.0"?>
2<facility name="statedump">
417de941 3 <description>The statedump facility contains the events generated at trace startup</description>
4
c3e2873f 5 <type name="thread_type">
b3fd4c02 6 <enum>
c3e2873f 7 <label name="USER_THREAD" value="0"/> <description>User thread</description>
8 <label name="KERNEL_THREAD" value="1"/> <description>Kernel Thread</description>
b3fd4c02 9 </enum>
10 </type>
11
c3e2873f 12 <type name="execution_mode">
f4fca095 13 <enum>
c3e2873f 14 <label name="USER_MODE" value="0"/> <description>Task is executing user code</description>
15 <label name="SYSCALL" value="1"/> <description>Task is in a system call</description>
16 <label name="TRAP" value="2"/> <description>Task is in a trap</description>
17 <label name="IRQ" value="3"/> <description></description>
18 <label name="SOFTIRQ" value="4"/> <description></description>
19 <label name="MODE_UNKNOWN" value="5"/> <description>Execution mode cannot be determined for this task</description>
f4fca095 20 </enum>
21 </type>
22
c3e2873f 23 <type name="execution_submode">
b3fd4c02 24 <enum>
c3e2873f 25 <label name="NONE" value="0"/> <description>No execution submode to report</description>
26 <label name="UNKNOWN" value="1"/> <description>Task execution submode cannot be determined</description>
b3fd4c02 27 </enum>
28 </type>
29
c3e2873f 30 <type name="process_status">
b3fd4c02 31 <enum>
c3e2873f 32 <label name="UNNAMED" value="0"/> <description></description>
33 <label name="WAIT_FORK" value="1"/> <description></description>
34 <label name="WAIT_CPU" value="2"/> <description></description>
35 <label name="EXIT" value="3"/> <description></description>
36 <label name="ZOMBIE" value="4"/> <description></description>
37 <label name="WAIT" value="5"/> <description></description>
38 <label name="RUN" value="6"/> <description></description>
39 <label name="DEAD" value="7"/> <description></description>
b3fd4c02 40 </enum>
41 </type>
42
c3e2873f 43 <type name="interface_state">
8eddb750 44 <enum>
c3e2873f 45 <label name="UP" value="0"/> <description></description>
46 <label name="DOWN" value="1"/> <description></description>
8eddb750 47 </enum>
48 </type>
7cd289b0 49
d1795f42 50 <event name="enumerate_file_descriptors">
417de941 51 <description>List of open file descriptors</description>
c3e2873f 52 <field name="name"><description>File name</description><string/></field>
53 <field name="PID"><description>Process identifier</description><uint size="4"/></field>
54 <field name="fd"><description>File descriptor index in this process's task_struct</description><uint size="4"/></field>
417de941 55 </event>
56
d1795f42 57 <event name="enumerate_vm_maps">
417de941 58 <description>List of active vm maps</description>
c3e2873f 59 <field name="PID"><description>Process identifier</description><uint size="4"/></field>
60 <field name="start"> <description>VM's start address</description> <pointer/> </field>
61 <field name="end"> <description>VM's end address</description> <pointer/> </field>
62 <field name="flags"> <description>VM area flags</description> <uint size="1"/> </field>
63 <field name="pgoff"> <description>VM's page offset</description> <long/> </field>
64 <field name="inode"> <description>Inode associated with this VM</description> <long/> </field>
417de941 65 </event>
66
d1795f42 67 <event name="enumerate_modules">
417de941 68 <description>List of loaded kernel modules</description>
c3e2873f 69 <field name="name"><description>Module name</description><string/></field>
70 <field name="state"><description>Module's state</description><uint size="4"/></field>
71 <field name="ref"><description>Number of references to this module</description><uint size="4"/></field>
417de941 72 </event>
73
d1795f42 74 <event name="enumerate_interrupts">
417de941 75 <description>List of registered interrupts</description>
c3e2873f 76 <field name="name"> <description>Interrupt name</description> <string/> </field>
77 <field name="action"> <description>action triggered by interrupt</description> <string/> </field>
78 <field name="num"> <description>Interrupt number</description> <uint size="4"/> </field>
417de941 79 </event>
80
d1795f42 81 <event name="enumerate_process_state">
b3fd4c02 82 <description>State of each process when statedump is performed</description>
c3e2873f 83 <field name="pid"><description>Process identifier</description><uint size="4"/></field>
84 <field name="parent_pid"><description>Parent process identifier</description><uint size="4"/></field>
85 <field name="name"> <description>Process name</description><string/></field>
86 <field name="type"> <description>Thread type</description> <typeref name="thread_type"/> </field>
87 <field name="mode"> <description>Execution submode</description> <typeref name="execution_mode"/> </field>
88 <field name="submode"> <description>Execution submode</description> <typeref name="execution_submode"/> </field>
89 <field name="status"> <description>Process status</description> <typeref name="process_status"/> </field>
90 <field name="tgid"><description>Thread group ID (POSIX PID)</description><uint size="4"/></field>
b3fd4c02 91 </event>
92
d1795f42 93 <event name="enumerate_network_ip_interface">
7cd289b0 94 <description>List of each IP interface up</description>
c3e2873f 95 <field name="name"> <description>Interface name</description><string/></field>
96 <field name="addr"> <description>IP address</description> <uint size="4" byte_order="network"/> </field>
97 <field name="status"> <description>Status of the interface</description> <typeref name="interface_state"/> </field>
7cd289b0 98 </event>
99
d1795f42 100 <event name="statedump_end">
417de941 101 <description>Kernel state dump complete</description>
102 </event>
103
104</facility>
105
106
This page took 0.04526 seconds and 4 git commands to generate.