add set timer
[ltt-control.git] / ltt-control / facilities / timer.xml
index c07256f679c8bdb704298bd45c0d58948db8e277..c5138b6858fc0fd467806afa3dffabd160f604c5 100644 (file)
@@ -4,11 +4,11 @@
 
   <type name="itimer_kind">
     <enum>
-      <label name="ITIMER_REAL" value="0"> <description>decrements in real time,
+      <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
+      <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
+      <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.
@@ -20,7 +20,7 @@
     <description>A timer or itimer has expired.</description>
     <field name="pid">
                        <description>PID of the process to wake up.</description>
-                       <uint size="4">
+                       <uint size="4"/>
                </field>
   </event>
 
   <event name="set_itimer">
     <description>An interval timer is set.</description>
     <field name="which"> <description>kind of interval timer.</description>
-           <typeref name="itimer_kind">
-               </field>
-    <field name="interval_seconds"><uint size="4"></field>
-    <field name="interval_microseconds"><uint size="4"></field>
-    <field name="value_seconds"><uint size="4"></field>
-    <field name="value_microseconds"><uint size="4"></field>
+           <typeref name="itimer_kind"/>
+    </field>
+    <field name="interval_seconds"><uint size="4"/></field>
+    <field name="interval_microseconds"><uint size="4"/></field>
+    <field name="value_seconds"><uint size="4"/></field>
+    <field name="value_microseconds"><uint size="4"/></field>
+  </event>
+
+  <event name="set_timer">
+    <description>A timer is added/modified/migrated.</description>
+    <field name="expires"><ulong/></field>
+    <field name="function"><pointer/></field>
+    <field name="data"><pointer/></field>
   </event>
 
 </facility>
This page took 0.02348 seconds and 4 git commands to generate.