test xml
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 9 Nov 2005 01:23:06 +0000 (01:23 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 9 Nov 2005 01:23:06 +0000 (01:23 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1312 04897980-b3bd-0310-b5e0-8ef037075253

genevent-new/test.xml [new file with mode: 0644]

diff --git a/genevent-new/test.xml b/genevent-new/test.xml
new file mode 100644 (file)
index 0000000..835d6b9
--- /dev/null
@@ -0,0 +1,119 @@
+<facility name=test>
+  <description>The kernel facility has events related to kernel execution status.</description>
+
+  <event name=syscall_entry>
+    <description>System call entry</description>
+    <struct>
+      <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <uint size=1/> </field>
+      <field name="address"> <description>Address from which call was made</description> <pointer/> </field>
+     </struct>
+  </event>
+       
+       <event name=syscall_exit>
+    <description>System call exit</description>
+  </event>
+       
+  <event name=trap_entry>
+    <description>Entry in a trap</description>
+    <struct>
+      <field name="trap_id"> <description>Trap number</description> <uint size=2/> </field>
+      <field name="address"> <description>Address where trap occured</description> <pointer/> </field>
+     </struct>
+  </event>
+
+  <event name=trap_exit>
+    <description>Exit from a trap</description>
+  </event>
+
+  <event name=soft_irq_entry>
+    <description>Soft IRQ entry</description>
+    <struct>
+      <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field>
+     </struct>
+  </event>
+
+  <event name=soft_irq_exit>
+    <description>Soft IRQ exit</description>
+    <struct>
+      <field name="softirq_id"> <description>Soft IRQ number</description> <pointer/> </field>
+     </struct>
+  </event>
+
+  <event name=tasklet_entry>
+    <description>Tasklet entry</description>
+    <struct>
+      <field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
+      <field name="address"> <description>Tasklet function address</description> <pointer/> </field>
+      <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
+     </struct>
+  </event>
+
+  <event name=tasklet_exit>
+    <description>Tasklet exit</description>
+    <struct>
+      <field name="priority"> <description>Tasklet priority</description> <typeref name=tasklet_priority/> </field>
+      <field name="address"> <description>Tasklet function address</description> <pointer/> </field>
+      <field name="data"> <description>Tasklet data address</description> <ulong/> </field>
+     </struct>
+  </event>
+
+  <event name=irq_entry>
+    <description>Entry in an irq</description>
+    <struct>
+      <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
+      <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
+     </struct>
+  </event>
+
+  <event name=irq_exit>
+    <description>Exit from an IRQ</description>
+  </event>
+
+  <type name=tasklet_priority>
+    <enum>
+      <label name=LOW value=0/> <description>Low priority tasklet</description>
+      <label name=HIGH value=1/> <description>High priority tasklet</description>
+    </enum>
+  </type>
+
+  <type name=irq_mode>
+    <enum>
+      <label name=user value=0/> <description>User context</description>
+      <label name=kernel value=1/> <description>Kernel context</description>
+    </enum>
+  </type>
+       
+       <type name=mystruct2>
+               <struct>
+      <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
+      <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
+                       <field name="teststr1"> <typeref name=mystruct/> </field>
+               </struct>
+       </type>
+
+       <type name=mystruct>
+               <struct>
+      <field name="irq_id"> <description>IRQ number</description> <uint size=4/> </field>
+      <field name="mode"> <description>Are we executing kernel code</description> <typeref name=irq_mode/> </field>
+                       
+                       <field name="teststr"><typeref name=mystruct2/></field>
+                       <field name="myarray">
+                       <array size=10/>
+                       <uint_fixed size=8/>
+                       </array>
+                       </field>
+                       <field name="mysequence">
+                       <sequence lengthsize=1/>
+                       <float size=8/>
+                       </sequence>
+                       </field>
+                       <field name="myunion">
+                       <union>
+                               <field name="myfloat"><float size=8/></field>
+                               <field name="myulong"><ulong></field>
+                       </union>
+                       </field>
+               </struct>
+       </type>
+
+</facility>
This page took 0.024962 seconds and 4 git commands to generate.