X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kmem.c;h=ae3dc8b437eec693df1bdff96a1233eeb4cfca5c;hb=c861cb21efdd9f89d6e0d89e6e75e7519cd548d1;hp=441df75fe034cd768ae1efff0dcfb29ebadb21f5;hpb=7c68b363332170e4db100327ecc9e09b8a79cf29;p=lttng-modules.git diff --git a/probes/lttng-probe-kmem.c b/probes/lttng-probe-kmem.c index 441df75f..ae3dc8b4 100644 --- a/probes/lttng-probe-kmem.c +++ b/probes/lttng-probe-kmem.c @@ -21,7 +21,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +/* + * This page_alloc.h wrapper needs to be included before gfpflags.h because it + * overrides a function with a define. + */ +#include #include +#include +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -29,17 +36,21 @@ */ #include -#include "../wrapper/tracepoint.h" +#include /* * 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/kmem.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng kmem probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);