5a413497 |
1 | <facility name=test> |
2 | <description>The kernel facility has events related to kernel execution status.</description> |
3 | |
34c1d1b5 |
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"> |
40c18b13 |
33 | <array size=10/> |
34 | <uint_fixed size=8/> |
35 | </array> |
34c1d1b5 |
36 | </field> |
37 | <field name="mysequence"> |
40c18b13 |
38 | <sequence> |
39 | <uint> |
40 | <float size=8/> |
41 | </sequence> |
34c1d1b5 |
42 | </field> |
43 | <field name="myunion"> |
40c18b13 |
44 | <union> |
45 | <field name="myfloat"><float size=8/></field> |
46 | <field name="myulong"><ulong></field> |
47 | </union> |
34c1d1b5 |
48 | </field> |
49 | </struct> |
50 | </type> |
51 | |
52 | |
53 | |
54 | |
5a413497 |
55 | <event name=syscall_entry> |
56 | <description>System call entry</description> |
47299663 |
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> |
5a413497 |
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> |
47299663 |
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> |
5a413497 |
69 | </event> |
70 | |
71 | <event name=trap_exit> |
47299663 |
72 | <description>Exit from a trap</description> |
5a413497 |
73 | </event> |
74 | |
75 | <event name=soft_irq_entry> |
47299663 |
76 | <description>Soft IRQ entry</description> |
77 | <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field> |
5a413497 |
78 | </event> |
79 | |
80 | <event name=soft_irq_exit> |
47299663 |
81 | <description>Soft IRQ exit</description> |
82 | <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field> |
5a413497 |
83 | </event> |
84 | |
85 | <event name=tasklet_entry> |
47299663 |
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> |
5a413497 |
90 | </event> |
91 | |
92 | <event name=tasklet_exit> |
47299663 |
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> |
5a413497 |
97 | </event> |
98 | |
99 | <event name=irq_entry> |
47299663 |
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> |
5a413497 |
103 | </event> |
104 | |
105 | <event name=irq_exit> |
47299663 |
106 | <description>Exit from an IRQ</description> |
5a413497 |
107 | </event> |
108 | |
47299663 |
109 | <event name=big_array> |
2e415130 |
110 | <field name="myarray"> |
111 | <array size=10000> |
112 | <array size=2> |
7b175edc |
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> |
2e415130 |
120 | </array> |
121 | </array> |
122 | </field> |
47299663 |
123 | </event> |
124 | |
5a413497 |
125 | </facility> |