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