X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-ext3.c;h=00518be8cd28e45eb740e3f1842674fb1def6b4e;hb=cc1ba302ec41813a36822487fb37ee2fe83f277c;hp=0df2b6711c87ed34085206ae9e270e30202e14a7;hpb=b283666ff19841a28b0448c6a867beb2f809f11a;p=lttng-modules.git diff --git a/probes/lttng-probe-ext3.c b/probes/lttng-probe-ext3.c index 0df2b671..00518be8 100644 --- a/probes/lttng-probe-ext3.c +++ b/probes/lttng-probe-ext3.c @@ -25,32 +25,33 @@ #include #include #include +#include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)) -/* - * Since 3.4 the is no linux/ext3_fs_i.h anymore. Instead we have to use - * ext3.h from fs/ext3/ext3.h (which also includes trace/events/ext3.h) - */ -#include "../instrumentation/events/mainline/fs_ext3.h" +#include <../fs/ext3/ext3.h> #else #include +#endif /* * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ #include -#endif /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module -#include "../instrumentation/events/lttng-module/ext3.h" +#include MODULE_LICENSE("GPL and additional rights"); -MODULE_AUTHOR("Wade Farnsworth and Paul Woegerer "); +MODULE_AUTHOR("Wade Farnsworth , Paul Woegerer , and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng ext3 probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);