#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 = {
#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;
#define _LTT_FACILITY_ID_USER_GENERIC_H_
#ifdef LTT_TRACE
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
/**** facility handle ****/
#include <sys/types.h>
#include <ltt/ltt-facility-id-user_generic.h>
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
/* Named types */
#define _LTT_USERTRACE_FAST_H
#ifdef LTT_TRACE
+#ifdef LTT_TRACE_FAST
#include <errno.h>
#include <asm/atomic.h>
}
+#endif //LTT_TRACE_FAST
#endif //LTT_TRACE
-
-
#endif //_LTT_USERTRACE_FAST_H
/*****************************************************************************
- * 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
#define LTT_ALIGN __attribute__((packed))
#endif //LTT_PACK
-#endif //_LTT_GENERIC_H
+#endif //_LTT_USERTRACE_H