X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-sched.c;h=8f9f24702833d860fbd08f466449399d633d2651;hb=c099397a53087b8c616a7feaef0c26d939b9662f;hp=dfe26c0084588e7e783e02556d023285fdb3c6f7;hpb=d0dd2ecbe2f2e614e0469addd1bd962db3cf047b;p=lttng-modules.git diff --git a/probes/lttng-probe-sched.c b/probes/lttng-probe-sched.c index dfe26c00..8f9f2470 100644 --- a/probes/lttng-probe-sched.c +++ b/probes/lttng-probe-sched.c @@ -1,5 +1,5 @@ /* - * probes/sched.c + * probes/lttng-probe-sched.c * * Copyright 2010 (c) - Mathieu Desnoyers * @@ -8,14 +8,20 @@ #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 ");