lttv 0.8.13
[lttv.git] / genevent-new / test.xml
1 <facility name=test>
2 <description>The kernel facility has events related to kernel execution status.</description>
3
4
5 <type name=tasklet_priority>
6 <enum>
7 <label name=LOW value=0/> <description>Low priority tasklet</description>
8 <label name=HIGH value=1/> <description>High priority tasklet</description>
9 </enum>
10 </type>
11
12 <type name=irq_mode>
13 <enum>
14 <label name=user value=0/> <description>User context</description>
15 <label name=kernel value=1/> <description>Kernel context</description>
16 </enum>
17 </type>
18
19 <type name=mystruct2>
20 <struct>
21 <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
22 <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
23 </struct>
24 </type>
25
26 <type name=mystruct>
27 <struct>
28 <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
29 <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
30
31 <field name="teststr"><typeref name=mystruct2/></field>
32 <field name="myarray">
33 <array size=10/>
34 <uint_fixed size=8/>
35 </array>
36 </field>
37 <field name="mysequence">
38 <sequence>
39 <uint>
40 <float size=8/>
41 </sequence>
42 </field>
43 <field name="myunion">
44 <union>
45 <field name="myfloat"><float size=8/></field>
46 <field name="myulong"><ulong></field>
47 </union>
48 </field>
49 </struct>
50 </type>
51
52
53
54
55 <event name=syscall_entry>
56 <description>System call entry</description>
57 <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <uint size=1/> </field>
58 <field name="address"> <description>Address from which call was made</description> <pointer/> </field>
59 </event>
60
61 <event name=syscall_exit>
62 <description>System call exit</description>
63 </event>
64
65 <event name=trap_entry>
66 <description>Entry in a trap</description>
67 <field name="trap_id"> <description>Trap number</description> <uint size=2/> </field>
68 <field name="address"> <description>Address where trap occured</description> <pointer/> </field>
69 </event>
70
71 <event name=trap_exit>
72 <description>Exit from a trap</description>
73 </event>
74
75 <event name=soft_irq_entry>
76 <description>Soft IRQ entry</description>
77 <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field>
78 </event>
79
80 <event name=soft_irq_exit>
81 <description>Soft IRQ exit</description>
82 <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field>
83 </event>
84
85 <event name=tasklet_entry>
86 <description>Tasklet entry</description>
87 <field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
88 <field name="address"> <description>Tasklet function address</description> <pointer/> </field>
89 <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
90 </event>
91
92 <event name=tasklet_exit>
93 <description>Tasklet exit</description>
94 <field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
95 <field name="address"> <description>Tasklet function address</description> <pointer/> </field>
96 <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
97 </event>
98
99 <event name=irq_entry>
100 <description>Entry in an irq</description>
101 <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
102 <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
103 </event>
104
105 <event name=irq_exit>
106 <description>Exit from an IRQ</description>
107 </event>
108
109 <event name=big_array>
110 <field name="myarray">
111 <array size=10000>
112 <array size=2>
113 <struct>
114 <field name=a><pointer></field>
115 <field name=b><union>
116 <field name=c><pointer></field>
117 </union>
118 </field>
119 </struct>
120 </array>
121 </array>
122 </field>
123 </event>
124
125 </facility>
This page took 0.03304 seconds and 4 git commands to generate.