#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 "../wrapper/irqflags.h"
-#include "../lttng-tracer.h"
+#include <lttng-events.h>
+#include <wrapper/ringbuffer/frontend_types.h>
+#include <wrapper/vmalloc.h>
+#include <wrapper/irqflags.h>
+#include <lttng-tracer.h>
static
int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
container_of(p, struct lttng_event, u.kprobe.kp);
struct lttng_probe_ctx lttng_probe_ctx = {
.event = event,
- .interruptible = lttng_regs_irqs_disabled(regs),
+ .interruptible = !lttng_regs_irqs_disabled(regs),
};
struct lttng_channel *chan = event->chan;
struct lib_ring_buffer_ctx ctx;