X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=probes%2Flttng-ftrace.c;h=56cfa56ad37b37a49a220bdea2bc37ee86b8b6f6;hb=ccecf3fb2d43968e97e4c57f13ac89d87db6dd8d;hp=090843c902d676dd6a15899c5d1b2080063c9a28;hpb=79150a4903b5f31695fcd1d9655555ba6dc4bfa4;p=deliverable%2Flttng-modules.git diff --git a/probes/lttng-ftrace.c b/probes/lttng-ftrace.c index 090843c9..56cfa56a 100644 --- a/probes/lttng-ftrace.c +++ b/probes/lttng-ftrace.c @@ -45,7 +45,7 @@ void lttng_ftrace_handler(unsigned long ip, unsigned long parent_ip, void **data struct lttng_event *event = *data; struct lttng_probe_ctx lttng_probe_ctx = { .event = event, - .interruptible = irqs_disabled(), + .interruptible = !irqs_disabled(), }; struct lttng_channel *chan = event->chan; struct lib_ring_buffer_ctx ctx;