X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-vmscan.c;h=994e5145350502f65018fa2d59d9fe0dcadb85fa;hb=refs%2Fheads%2Fstable-2.4;hp=2abd0e46b6e5274551903d7ca44aa1b6095aac2f;hpb=b283666ff19841a28b0448c6a867beb2f809f11a;p=lttng-modules.git diff --git a/probes/lttng-probe-vmscan.c b/probes/lttng-probe-vmscan.c index 2abd0e46..994e5145 100644 --- a/probes/lttng-probe-vmscan.c +++ b/probes/lttng-probe-vmscan.c @@ -22,7 +22,7 @@ */ #include -#include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -30,6 +30,8 @@ */ #include +#include "../lttng-kernel-version.h" + /* * Create LTTng tracepoint probes. */ @@ -37,12 +39,12 @@ #define CREATE_TRACE_POINTS #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)) -typedef int isolate_mode_t; -#endif - #include "../instrumentation/events/lttng-module/vmscan.h" 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 vmscan probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);