put typedef before events
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 2 Dec 2005 00:04:58 +0000 (00:04 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 2 Dec 2005 00:04:58 +0000 (00:04 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1356 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/facilities/core.xml
ltt/branches/poly/facilities/kernel.xml
ltt/branches/poly/facilities/process.xml
ltt/branches/poly/facilities/timer.xml

index 360ce161bfa79285e8e3ace6db0c8ca2a85c832f..74713e1a2dce4d1b38507c09e395cf9d4af38f80 100644 (file)
@@ -1,5 +1,13 @@
 <facility name=core>
   <description>The core facility contains the basic tracing related events</description>
+       
+  <type name=timestamp>
+               <struct>
+                       <field name="seconds"><uint size=4/></field>
+                       <field name="nanoseconds"><uint size=4/></field>
+                       <field name="cycle_count"><uint size=8/></field>
+               </struct>
+  </type>
 
   <event name=facility_load>
     <description>Facility is loaded</description>
                <field name="alignment"><uint size=4/></field>
   </event>
 
-  <type name=timestamp>
-               <struct>
-                       <field name="seconds"><uint size=4/></field>
-                       <field name="nanoseconds"><uint size=4/></field>
-                       <field name="cycle_count"><uint size=8/></field>
-               </struct>
-  </type>
-
 </facility>
index eb10f722db042321f5abad3e36dce60306649b37..1db08202ff2720bb74adc27a3f809df454a45fd9 100644 (file)
@@ -1,6 +1,20 @@
 <facility name=kernel>
   <description>The kernel facility has events related to kernel execution status.</description>
 
+  <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>
+
   <event name=syscall_entry>
     <description>System call entry</description>
     <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <uint size=1/> </field>
     <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>
-
 </facility>
index 46bd0d833efd82b46487cf9731dddf0b7396df91..e9f403e7cd2e4fb52fb8a5ebba87607af25238c0 100644 (file)
@@ -2,6 +2,43 @@
   <description>The process facility has events related to process handling in
        the kernel.</description>
 
+  <type name=signal_name>
+    <enum>
+      <label name=SIGHUP value=1/> <description>Hangup (POSIX).</description>
+      <label name=SIGINT value=2/> <description>Interrupt (ANSI).</description>
+      <label name=SIGQUIT value=3/> <description>Quit (POSIX).</description>
+      <label name=SIGILL value=4/> <description>Illegal instruction (ANSI).</description>
+      <label name=SIGTRAP value=5/> <description>Trace trap (POSIX).</description>
+      <label name=SIGABRT value=6/> <description>Abort (ANSI).</description>
+      <label name=SIGBUS value=7/> <description>BUS error (4.2 BSD).</description>
+      <label name=SIGFPE value=8/> <description>Floating-point exception (ANSI).</description>
+      <label name=SIGKILL value=9/> <description>Kill, unblockable (POSIX).</description>
+      <label name=SIGUSR1 value=10/> <description>User-defined signal 1 (POSIX).</description>
+      <label name=SIGSEGV value=11/> <description>Segmentation violation (ANSI).</description>
+      <label name=SIGUSR2 value=12/> <description>User-defined signal 2 (POSIX).</description>
+      <label name=SIGPIPE value=13/> <description>Broken pipe (POSIX).</description>
+      <label name=SIGALRM value=14/> <description>Alarm clock (POSIX).</description>
+      <label name=SIGTERM value=15/> <description>Termination (ANSI).</description>
+      <label name=SIGSTKFLT value=16/> <description>Stack fault.</description>
+  
+      <label name=SIGCHLD value=17/> <description>Child status has changed (POSIX).</description>
+      <label name=SIGCONT value=18/> <description>Continue (POSIX).</description>
+      <label name=SIGSTOP value=19/> <description>Stop, unblockable (POSIX).</description>
+      <label name=SIGTSTP value=20/> <description>Keyboard stop (POSIX).</description>
+      <label name=SIGTTIN value=21/> <description>Background read from tty (POSIX).</description>
+      <label name=SIGTTOU value=22/> <description>Background write to tty (POSIX).</description>
+      <label name=SIGURG value=23/> <description>Urgent condition on socket (4.2 BSD).</description>
+      <label name=SIGXCPU value=24/> <description>CPU limit exceeded (4.2 BSD).</description>
+      <label name=SIGXFSZ value=25/> <description>File size limit exceeded (4.2 BSD).</description>
+      <label name=SIGVTALRM value=26/> <description>Virtual alarm clock (4.2 BSD).</description>
+      <label name=SIGPROF value=27/> <description>Profiling alarm clock (4.2 BSD).</description>
+      <label name=SIGWINCH value=28/> <description>Window size change (4.3 BSD, Sun).</description>
+      <label name=SIGIO value=29/> <description>I/O now possible (4.2 BSD). (aka SIGPOLL)</description>
+      <label name=SIGPWR value=30/> <description>Power failure restart (System V).</description>
+      <label name=SIGSYS value=31/> <description>Bad system call.</description>
+    </enum>
+  </type>
+
   <event name=fork>
     <description>Process fork</description>
     <field name="parent_pid"> <description>PID of the parent process</description> <uint size=4/> </field>
     <field name="out_state"> <description>Outgoing process' state. -1 unrunnable, 0 runnable, >0 stopped.</description> <int size=4/> </field>
   </event>
 
-  <type name=signal_name>
-    <enum>
-      <label name=SIGHUP value=1/> <description>Hangup (POSIX).</description>
-      <label name=SIGINT value=2/> <description>Interrupt (ANSI).</description>
-      <label name=SIGQUIT value=3/> <description>Quit (POSIX).</description>
-      <label name=SIGILL value=4/> <description>Illegal instruction (ANSI).</description>
-      <label name=SIGTRAP value=5/> <description>Trace trap (POSIX).</description>
-      <label name=SIGABRT value=6/> <description>Abort (ANSI).</description>
-      <label name=SIGBUS value=7/> <description>BUS error (4.2 BSD).</description>
-      <label name=SIGFPE value=8/> <description>Floating-point exception (ANSI).</description>
-      <label name=SIGKILL value=9/> <description>Kill, unblockable (POSIX).</description>
-      <label name=SIGUSR1 value=10/> <description>User-defined signal 1 (POSIX).</description>
-      <label name=SIGSEGV value=11/> <description>Segmentation violation (ANSI).</description>
-      <label name=SIGUSR2 value=12/> <description>User-defined signal 2 (POSIX).</description>
-      <label name=SIGPIPE value=13/> <description>Broken pipe (POSIX).</description>
-      <label name=SIGALRM value=14/> <description>Alarm clock (POSIX).</description>
-      <label name=SIGTERM value=15/> <description>Termination (ANSI).</description>
-      <label name=SIGSTKFLT value=16/> <description>Stack fault.</description>
-  
-      <label name=SIGCHLD value=17/> <description>Child status has changed (POSIX).</description>
-      <label name=SIGCONT value=18/> <description>Continue (POSIX).</description>
-      <label name=SIGSTOP value=19/> <description>Stop, unblockable (POSIX).</description>
-      <label name=SIGTSTP value=20/> <description>Keyboard stop (POSIX).</description>
-      <label name=SIGTTIN value=21/> <description>Background read from tty (POSIX).</description>
-      <label name=SIGTTOU value=22/> <description>Background write to tty (POSIX).</description>
-      <label name=SIGURG value=23/> <description>Urgent condition on socket (4.2 BSD).</description>
-      <label name=SIGXCPU value=24/> <description>CPU limit exceeded (4.2 BSD).</description>
-      <label name=SIGXFSZ value=25/> <description>File size limit exceeded (4.2 BSD).</description>
-      <label name=SIGVTALRM value=26/> <description>Virtual alarm clock (4.2 BSD).</description>
-      <label name=SIGPROF value=27/> <description>Profiling alarm clock (4.2 BSD).</description>
-      <label name=SIGWINCH value=28/> <description>Window size change (4.3 BSD, Sun).</description>
-      <label name=SIGIO value=29/> <description>I/O now possible (4.2 BSD). (aka SIGPOLL)</description>
-      <label name=SIGPWR value=30/> <description>Power failure restart (System V).</description>
-      <label name=SIGSYS value=31/> <description>Bad system call.</description>
-    </enum>
-  </type>
-
-
 </facility>
index 01b7f467cf8d1a2d5bcc63aa3b2d020095249a05..26abb0f87a3a07076ca9e6f4b7114d680009db77 100644 (file)
@@ -1,6 +1,20 @@
 <facility name=timer>
   <description>The timer facility has events related to timer events in the kernel.</description>
 
+  <type name=itimer_kind>
+    <enum>
+      <label name=ITIMER_REAL value=0/> <description>decrements in real time,
+      and delivers SIGALRM upon expiration.</description>
+      <label name=ITIMER_VIRTUAL value=1/> <description>decrements only when the
+      process is executing, and delivers SIGVTALRM upon expiration.</description>
+      <label name=ITIMER_PROF value=2/> <description>decrements both when the
+      process executes and when the system is executing on behalf of the
+      process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
+      profile the time spent by the application in user and kernel space.
+      SIGPROF is delivered upon expiration.</description>
+    </enum>
+  </type>
+
   <event name=expired>
     <description>A timer or itimer has expired.</description>
     <field name="pid"> <description>PID of the process to wake up.</description> <uint size=4/> </field>
     <field name="value_microseconds"><uint size=4/></field>
   </event>
 
-  <type name=itimer_kind>
-    <enum>
-      <label name=ITIMER_REAL value=0/> <description>decrements in real time,
-      and delivers SIGALRM upon expiration.</description>
-      <label name=ITIMER_VIRTUAL value=1/> <description>decrements only when the
-      process is executing, and delivers SIGVTALRM upon expiration.</description>
-      <label name=ITIMER_PROF value=2/> <description>decrements both when the
-      process executes and when the system is executing on behalf of the
-      process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
-      profile the time spent by the application in user and kernel space.
-      SIGPROF is delivered upon expiration.</description>
-    </enum>
-  </type>
-
 </facility>
This page took 0.027477 seconds and 4 git commands to generate.