X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-irq.c;h=fd4213f053852cf2b6c6f8fe095ccf288cd027bc;hb=9115fbdc0d5b0d69b32d3d4d924624fbbe22638e;hp=bf0ad12aedb951d3a49765e6caace40de641cf50;hpb=391286e81406e93f59e92b9b5cf93bf839e7884f;p=lttng-modules.git diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index bf0ad12a..fd4213f0 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -9,14 +9,20 @@ #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 ");