X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-irq.c;h=fd4213f053852cf2b6c6f8fe095ccf288cd027bc;hb=f62b389ebaba6abc93afb2cf9fbdf2fe0b632077;hp=bf0ad12aedb951d3a49765e6caace40de641cf50;hpb=90225db5dd17d46fdb281a625ef98780329b0677;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 ");