#include <linux/module.h>
#include <linux/kprobes.h>
#include <linux/slab.h>
-#include <lttng-events.h>
-#include <wrapper/ringbuffer/frontend_types.h>
-#include <wrapper/vmalloc.h>
+#include <lttng/lttng-events.h>
+#include <ringbuffer/frontend_types.h>
#include <wrapper/irqflags.h>
-#include <lttng-tracer.h>
-#include <blacklist/kprobes.h>
+#include <lttng/lttng-tracer.h>
static
int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
event->u.kprobe.kp.offset = offset;
event->u.kprobe.kp.addr = (void *) (unsigned long) addr;
- /*
- * Ensure the memory we just allocated don't trigger page faults.
- * Well.. kprobes itself puts the page fault handler on the blacklist,
- * but we can never be too careful.
- */
- wrapper_vmalloc_sync_all();
-
ret = register_kprobe(&event->u.kprobe.kp);
if (ret)
goto register_error;