summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ddeda2e)
#define LTT_TRACE
#include <error.h>
#include <stdio.h>
#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 = {
#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_
#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;
#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
#define _LTT_FACILITY_ID_USER_GENERIC_H_
#ifdef LTT_TRACE
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
/**** facility handle ****/
/**** facility handle ****/
#include <sys/types.h>
#include <ltt/ltt-facility-id-user_generic.h>
#include <sys/types.h>
#include <ltt/ltt-facility-id-user_generic.h>
-#include <ltt/ltt-generic.h>
+#include <ltt/ltt-usertrace.h>
#define _LTT_USERTRACE_FAST_H
#ifdef LTT_TRACE
#define _LTT_USERTRACE_FAST_H
#ifdef LTT_TRACE
#include <errno.h>
#include <asm/atomic.h>
#include <errno.h>
#include <asm/atomic.h>
#endif //_LTT_USERTRACE_FAST_H
#endif //_LTT_USERTRACE_FAST_H
/*****************************************************************************
/*****************************************************************************
- * LTT generic userspace tracing header
+ * LTT userspace tracing header
*
* Mathieu Desnoyers, March 2006
*/
*
* 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 <errno.h>
#include <syscall.h>
#include <sys/types.h>
#include <stdint.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
#ifndef min
#define min(a,b) ((a)<(b)?(a):(b))
#endif
#define LTT_ALIGN __attribute__((packed))
#endif //LTT_PACK
#define LTT_ALIGN __attribute__((packed))
#endif //LTT_PACK
+#endif //_LTT_USERTRACE_H