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

ltt-usertrace/ltt-facility-loader-user_generic.c
ltt-usertrace/ltt-facility-loader-user_generic.h
ltt-usertrace/ltt/ltt-facility-id-user_generic.h
ltt-usertrace/ltt/ltt-facility-user_generic.h
ltt-usertrace/ltt/ltt-usertrace-fast.h
ltt-usertrace/ltt/ltt-usertrace.h

index 8cdb07603795bcd7cc1417ef8899fbdd685120f9..8314ef827d36411c7b55f9183476be3269be0a24 100644 (file)
@@ -12,7 +12,7 @@
 #define LTT_TRACE
 #include <error.h>
 #include <stdio.h>
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
 #include "ltt-facility-loader-user_generic.h"
 
 static struct user_facility_info facility = {
index 1f93d1e3caea1748be89f8671d509ebf1ce6123b..e3373f6f0e5c4378322366c90939c1c04c604fef 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _LTT_FACILITY_LOADER_USER_GENERIC_H_
 #define _LTT_FACILITY_LOADER_USER_GENERIC_H_
 
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
 #include <ltt/ltt-facility-id-user_generic.h>
 
 ltt_facility_t ltt_facility_user_generic;
index 87205eb3612cd2cd640fb60be40e83b844e4d9ef..03b10502db8e335c51796d380ebeb94148301e47 100644 (file)
@@ -2,7 +2,7 @@
 #define _LTT_FACILITY_ID_USER_GENERIC_H_
 
 #ifdef LTT_TRACE
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
 
 /****  facility handle  ****/
 
index 94a636dc8297398b944bd413ab7f155a84b269ba..72bac219c0bb4da9bf8eef2593866ea377948587 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>
 
 /* Named types */
 
index 45b8b6c0cf805abbd24fa4de3dcdbba331068fa5..4d7c56ba808872a18596e38e19c44a7636d14f31 100644 (file)
@@ -9,6 +9,7 @@
 #define _LTT_USERTRACE_FAST_H
 
 #ifdef LTT_TRACE
+#ifdef LTT_TRACE_FAST
 
 #include <errno.h>
 #include <asm/atomic.h>
@@ -628,7 +629,6 @@ static inline void __attribute__((no_instrument_function)) ltt_commit_slot(
 }
        
 
+#endif //LTT_TRACE_FAST
 #endif //LTT_TRACE
-
-
 #endif //_LTT_USERTRACE_FAST_H
index 9d52ad70fa37f3a051d864fd16de0b910747fb58..dbd48c34a176fd6a61f0073c83c5cc309e356312 100644 (file)
@@ -1,13 +1,13 @@
 /*****************************************************************************
- * ltt-generic.h
+ * ltt-usertrace.h
  *
- * LTT generic userspace tracing header
+ * LTT userspace tracing header
  *
  * Mathieu Desnoyers, March 2006
  */
 
-#ifndef _LTT_GENERIC_H
-#define _LTT_GENERIC_H
+#ifndef _LTT_USERTRACE_H
+#define _LTT_USERTRACE_H
 
 #include <errno.h>
 #include <syscall.h>
 #include <sys/types.h>
 #include <stdint.h>
 
+#ifdef LTT_TRACE_FAST
+#include <ltt/ltt-usertrace-fast.h>
+#endif //LTT_TRACE_FAST
+
 #ifndef min
 #define min(a,b) ((a)<(b)?(a):(b))
 #endif
@@ -85,6 +89,6 @@ static inline unsigned int __attribute__((no_instrument_function))
 #define LTT_ALIGN __attribute__((packed))
 #endif //LTT_PACK
 
-#endif //_LTT_GENERIC_H
+#endif //_LTT_USERTRACE_H
 
 
This page took 0.026561 seconds and 4 git commands to generate.