X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-sched.c;h=18c1521de1db03804d75593cf43527d3da93c40b;hb=17baffe29814f2508556e498ab8c41a192e76b67;hp=dfe26c0084588e7e783e02556d023285fdb3c6f7;hpb=d0dd2ecbe2f2e614e0469addd1bd962db3cf047b;p=lttng-modules.git diff --git a/probes/lttng-probe-sched.c b/probes/lttng-probe-sched.c index dfe26c00..18c1521d 100644 --- a/probes/lttng-probe-sched.c +++ b/probes/lttng-probe-sched.c @@ -1,21 +1,29 @@ /* - * probes/sched.c + * probes/lttng-probe-sched.c * * Copyright 2010 (c) - Mathieu Desnoyers * * LTTng sched probes. + * + * Dual LGPL v2.1/GPL v2 license. */ #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/sched.h" MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");