X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-probe-irq.c;h=4a6a322d144730f2bfb2ac3df995ada0cda3585d;hb=4133fce7c3dfbe61a954001c87931e9785453981;hp=e61fbb8514131fc10829d07cd0b26e76a0edf851;hpb=0d1d4002e3a9e6de1a6d50932c5e38642dbce4f4;p=lttng-modules.git diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index e61fbb85..4a6a322d 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -4,18 +4,27 @@ * Copyright 2010 (c) - Mathieu Desnoyers * * LTTng irq probes. + * + * Dual LGPL v2.1/GPL v2 license. */ #include +#include + +/* + * Create the tracepoint static inlines from the kernel to validate that our + * trace event macros match the kernel we run on. + */ +#include /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#undef CONFIG_EVENT_TRACING /* Don't create Ftrace probes */ +#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module -#include +#include "../instrumentation/events/lttng-module/irq.h" MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");