X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-irq.c;h=4a6a322d144730f2bfb2ac3df995ada0cda3585d;hb=8c468a9b91987a71c3e30107c701ca4e935a3fee;hp=bf0ad12aedb951d3a49765e6caace40de641cf50;hpb=391286e81406e93f59e92b9b5cf93bf839e7884f;p=lttng-modules.git diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index bf0ad12a..4a6a322d 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -4,19 +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 ");