X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-probe-irq.c;h=fd4213f053852cf2b6c6f8fe095ccf288cd027bc;hb=05d32c64199816da32cd95929a8ff0d0d38d7f60;hp=e61fbb8514131fc10829d07cd0b26e76a0edf851;hpb=0d1d4002e3a9e6de1a6d50932c5e38642dbce4f4;p=lttng-modules.git diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index e61fbb85..fd4213f0 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -7,15 +7,22 @@ */ #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 ");