add net
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Apr 2007 03:02:04 +0000 (03:02 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Apr 2007 03:02:04 +0000 (03:02 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2467 04897980-b3bd-0310-b5e0-8ef037075253

ltt-control/facilities/kernel.xml
ltt-control/facilities/net.xml [new file with mode: 0644]

index cb6992d3cede24d93a7fc1a5cc6cd6f98d44e05d..d37aaba89d69c7f28cdb6259d0d642bc2082f6d0 100644 (file)
     <description>Process exit</description>
     <field name="prev_pid"> <description>Previously scheduled PID</description> <int/> </field>
     <field name="next_pid"> <description>Next PID to be scheduled</description> <int/> </field>
-    <field name="state"> <description>State of the process we are waiting for : -1 unrunnable, 0 runnable, >0 stopped</description> <long/> </field>
+    <field name="prev_state"> <description>State of the process we are scheduling out : -1 unrunnable, 0 runnable, >0 stopped</description> <long/> </field>
   </event>
 
   <event name="printk">
     <field name="wall_to_monotonic_tv_nsec"><long/></field>
   </event>
 
-  <event name="softirq">
-    <description>The timer softirq is currently runned.</description>
-  </event>
-
   <event name="timer_timeout">
     <description>A timer has expired.</description>
     <field name="pid">
diff --git a/ltt-control/facilities/net.xml b/ltt-control/facilities/net.xml
new file mode 100644 (file)
index 0000000..e647b12
--- /dev/null
@@ -0,0 +1,132 @@
+<?xml version="1.0"?>
+<facility name="net">
+       <description>The network facility contains events related to low level network operations</description>
+
+       <event name="socket_sendmsg">
+               <description>Sending a socket message</description>
+               <field name="socket">
+                       <description>Socket structure address</description>
+                       <pointer/>
+               </field>
+               <field name="family">
+                       <description>Socket family</description>
+                       <int/>
+               </field>
+               <field name="type">
+                       <description>Socket type</description>
+                       <int/>
+               </field>
+               <field name="protocol">
+                       <description>Socket protocol</description>
+                       <int/>
+               </field>
+               <field name="size">
+                       <description>Size of the message</description>
+                       <size_t/>
+               </field>
+       </event>
+
+       <event name="socket_recvmsg">
+               <description>Receiving a socket message</description>
+               <field name="socket">
+                       <description>Socket structure address</description>
+                       <pointer/>
+               </field>
+               <field name="family">
+                       <description>Socket family</description>
+                       <int/>
+               </field>
+               <field name="type">
+                       <description>Socket type</description>
+                       <int/>
+               </field>
+               <field name="protocol">
+                       <description>Socket protocol</description>
+                       <int/>
+               </field>
+               <field name="size">
+                       <description>Size of the message</description>
+                       <size_t/>
+               </field>
+       </event>
+
+       <event name="socket_create">
+               <description>Create a socket</description>
+               <field name="socket">
+                       <description>Socket structure address</description>
+                       <pointer/>
+               </field>
+               <field name="family">
+                       <description>Socket family</description>
+                       <int/>
+               </field>
+               <field name="type">
+                       <description>Socket type</description>
+                       <int/>
+               </field>
+               <field name="protocol">
+                       <description>Socket protocol</description>
+                       <int/>
+               </field>
+               <field name="fd">
+                       <description>Socket file descriptor</description>
+                       <int/>
+               </field>
+       </event>
+
+       <event name="socket_call">
+               <description>Generic socket call : FIXME : should be more detailed.</description>
+               <field name="call_number">
+                       <description>Number of socket call</description>
+                       <int/>
+               </field>
+               <field name="first_argument">
+                       <description>First argument of socket call</description>
+                       <ulong/>
+               </field>
+       </event>
+
+
+       <event name="dev_xmit">
+               <description>We send a packet</description>
+               <field name="skbuff"><description>Socket buffer pointer : identify the socket buffer</description>
+                       <pointer/>
+               </field>
+               <field name="protocol">
+                       <description>Protocol of the packet</description>
+                       <uint_fixed size="2" byte_order="network"/>
+               </field>
+       </event>
+
+       <event name="dev_receive">
+               <description>A packet is arriving</description>
+               <field name="skbuff">
+                       <description>Socket buffer pointer : identify the socket buffer</description>
+                       <pointer/>
+               </field>
+               <field name="protocol">
+                       <description>Protocol of the packet</description>
+                       <uint_fixed size="2" byte_order="network"/>
+               </field>
+       </event>
+
+       <event name="insert_ifa">
+               <description>IP interface up</description>
+                       <field name="name">
+                               <description>Interface name</description>
+                               <string/>
+                       </field>
+                       <field name="addr">
+                               <description>IP address</description>
+                               <uint size="4" byte_order="network"/>
+                       </field>
+       </event>
+
+       <event name="del_ifa">
+               <description>IP interface down</description>
+                       <field name="name">
+                               <description>Interface name</description>
+                               <string/>
+                       </field>
+       </event>
+</facility>
This page took 0.025698 seconds and 4 git commands to generate.