change some fields in facility xml's to use format strings
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Jun 2007 01:56:25 +0000 (01:56 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Jun 2007 01:56:25 +0000 (01:56 +0000)
also, change some long's (that are pointers) to ulong's so that they print correctly in hex

git-svn-id: http://ltt.polymtl.ca/svn@2533 04897980-b3bd-0310-b5e0-8ef037075253

ltt-control/facilities/kernel_arch_arm.xml
ltt-control/facilities/kernel_arch_i386.xml
ltt-control/facilities/kernel_arch_mips.xml
ltt-control/facilities/kernel_arch_powerpc.xml
ltt-control/facilities/kernel_arch_ppc.xml
ltt-control/facilities/kernel_arch_x86_64.xml
ltt-control/facilities/locking.xml
ltt-control/facilities/mm.xml

index fa569c05a0197b04c7e91fa331b8cadd3da0c187..92ff24998b5d0aa201c319b1cdfd901adc37e7db 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <long/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index 26ad5f32a4f6e17b9c29d10fa503c1f83c2a6a50..fddad46ff406c9c02a51061ee7631732df11cfb0 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <int/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index 6f38a9a585dbc5e77c7caf10b0f6a81421fa680d..16911cebce1fec744ecca917d0fa59c23c6779ca 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <int/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index c59622b06ee369fd287f678e7dd126f0a05ad780..8d3ee6853298cc95dc01b65f93e60abaf18f9cf8 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <long/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index 9dcd911542f28ad9dfc84e9ddef247cad5165408..09d45ce04b3bb7c51e9a1d4b262019fb3755d940 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <long/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index ba933c6a01c35c79aa1e45ebfde6b12d23781d61..a65c0afa738c48d8cc147fd8c23b53b957af7f30 100644 (file)
   <event name="trap_entry">
     <description>Entry in a trap</description>
     <field name="trap_id"> <description>Trap number</description> <int/> </field>
-    <field name="address"> <description>Address where trap occured</description> <long/> </field>
+    <field name="address"> <description>Address where trap occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="trap_exit">
   <event name="syscall_entry">
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"/> </field>
-    <field name="address"> <description>Address from which call was made</description> <long/> </field>
+    <field name="address"> <description>Address from which call was made</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="syscall_exit">
index d4ee266ba02887bfd00b86dd8d01e5cc25b5ee1a..5dd9e55bd8e2d5008d439a557d18d02caf517c27 100644 (file)
@@ -4,27 +4,27 @@
 
   <event name="hardirqs_on">
     <description>Enable IRQs</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="hardirqs_off">
     <description>Disable IRQs</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="softirqs_on">
     <description>Enable SoftIRQs</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="softirqs_off">
     <description>Disable SoftIRQs</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="lock_acquire">
     <description>Acquire lock</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
     <field name="subclass"> <description>Lock subclass</description> <uint/> </field>
     <field name="lock"> <description>Lock address</description> <pointer/> </field>
     <field name="trylock"> <description>Trylock ?</description> <int/> </field>
@@ -32,7 +32,7 @@
 
   <event name="lock_release">
     <description>Release lock</description>
-    <field name="ip"> <description>Instruction address</description> <ulong/> </field>
+    <field name="ip"> <description>Instruction address</description> <ulong format="%#x"/> </field>
     <field name="lock"> <description>Lock address</description> <pointer/> </field>
     <field name="nested"> <description>Nested release ?</description> <int/> </field>
   </event>
index 3375bbf8d9466b6609a53b84ba93570ecea8ef47..1b2fff2ac8462afb70d02f1f309f6d3e4c7fa675 100644 (file)
@@ -4,8 +4,8 @@
 
   <event name="handle_fault_entry">
     <description>Entry in the page fault handler</description>
-    <field name="address"> <description>Pointer that caused the page fault</description> <ulong/> </field>
-    <field name="ip"> <description>Instruction at which the page fault occured</description> <long/> </field>
+    <field name="address"> <description>Pointer that caused the page fault</description> <ulong format="%#x"/> </field>
+    <field name="ip"> <description>Instruction at which the page fault occured</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="handle_fault_exit">
@@ -36,7 +36,7 @@
 
   <event name="swap_in">
     <description>Page swapped into memory</description>
-    <field name="address"> <description>Address of the page to swap in.</description> <ulong/> </field>
+    <field name="address"> <description>Address of the page to swap in.</description> <ulong format="%#x"/> </field>
   </event>
 
   <event name="swap_out">
This page took 0.028957 seconds and 4 git commands to generate.