new ltt-usertrace
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 9 Mar 2006 20:37:09 +0000 (20:37 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 9 Mar 2006 20:37:09 +0000 (20:37 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1642 04897980-b3bd-0310-b5e0-8ef037075253

ltt-usertrace/ltt/ltt-facility-custom-user_generic.h
ltt-usertrace/sample-highspeed.c
ltt-usertrace/sample-instrument-fct.c
ltt-usertrace/sample-thread.c
ltt-usertrace/user_generic.xml [deleted file]

index f3a77f77de910e7fdcc51443ba3a131765962df0..2008bae81a43c95c79809fa075ff41aa025a2c0a 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <sys/types.h>
 #include <ltt/ltt-facility-id-user_generic.h>
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
index bd9ea37ad4367e360d5dfe4d8c10c2def00c8c9c..963a83a700ba7c7aa8ffb704de0da8225c80e2af 100644 (file)
@@ -3,7 +3,7 @@
 #include <unistd.h>
 
 #define LTT_TRACE
-#define LTT_BLOCKING 1
+#define LTT_TRACE_FAST
 #include <ltt/ltt-facility-user_generic.h>
 
 
index 37140da8d1cb6f7259a88e437fe153b531f1f69d..2bc6cd5d5229367c76e01bdad1b08b6a95a0b8b6 100644 (file)
@@ -3,9 +3,7 @@
 #include <stdio.h>
 #include <unistd.h>
 
-#define LTT_TRACE
-#define LTT_BLOCKING 1
-#include <ltt/ltt-facility-user_generic.h>
+
 
 
 void test_function(void)
index 270f2c9e6de05e54da6530e58c140a74c462fc24..315a926e633d78ec1cab9b4117c3d55517c1802a 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 
 #define LTT_TRACE
+//this one is a non blocking sample (not #define LTT_BLOCKING 1)
 #include <ltt/ltt-facility-user_generic.h>
 
 
diff --git a/ltt-usertrace/user_generic.xml b/ltt-usertrace/user_generic.xml
deleted file mode 100644 (file)
index 6e555bb..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<facility name=user_generic>
-  <description>Generic user space facility</description>
-       
-  <event name=string>
-       <description>Takes a string from user space</description>
-               <field name="data"><string/></field>
-  </event>
-
-  <event name=string_pointer>
-       <description>Takes a string and pointer from user space</description>
-               <field name="string"><string/></field>
-               <field name="pointer"><pointer/></field>
-  </event>
-       
-       <event name=slow_printf param_buffer>
-       <description>Takes a buffer of variable size (written by printf) and log it.</description>
-               <field name="string"><string/></field>
-  </event>
-       
-       <event name=function_entry no_instrument_function>
-               <description>Entry in a function</description>
-               <field name="this_fn"><pointer/></field>
-               <field name="call_site"><pointer/></field>
-       </event>
-
-       <event name=function_exit no_instrument_function>
-               <description>Exit from a function</description>
-               <field name="this_fn"><pointer/></field>
-               <field name="call_site"><pointer/></field>
-       </event>
-
-</facility>
This page took 0.025966 seconds and 4 git commands to generate.