#include "kernelcompat.h"
#define _LGPL_SOURCE
#include <urcu.h>
+#include <kcompat/rculist.h>
#include "relay.h"
#include "tracer.h"
struct ltt_serialize_closure closure;
struct ltt_probe_private_data *private_data = call_data;
void *serialize_private = NULL;
- int cpu;
+//ust// int cpu;
unsigned int rflags;
/*
return;
rcu_read_lock(); //ust// rcu_read_lock_sched_notrace();
- cpu = smp_processor_id();
+//ust// cpu = smp_processor_id();
//ust// __get_cpu_var(ltt_nesting)++;
ltt_nesting++;
//ust// #include <linux/delay.h>
//ust// #include <linux/vmalloc.h>
//ust// #include <asm/atomic.h>
+#include <kcompat/rculist.h>
+
#include "kernelcompat.h"
#include "tracercore.h"
#include "tracer.h"
}
-/* LISTS */
-
-#define list_add_rcu list_add
-#define list_for_each_entry_rcu list_for_each_entry
-
-
-#define EXPORT_SYMBOL_GPL(a) /*nothing*/
-
-#define smp_processor_id() (-1)
-
#endif /* KERNELCOMPAT_H */