X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kmem.c;h=01202418dfc499884cb2b6f7bac510439c01d79d;hb=165eee701dce7f180d958125c1794459280fe64d;hp=441df75fe034cd768ae1efff0dcfb29ebadb21f5;hpb=7c68b363332170e4db100327ecc9e09b8a79cf29;p=lttng-modules.git diff --git a/probes/lttng-probe-kmem.c b/probes/lttng-probe-kmem.c index 441df75f..01202418 100644 --- a/probes/lttng-probe-kmem.c +++ b/probes/lttng-probe-kmem.c @@ -21,7 +21,13 @@ * 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 "../wrapper/page_alloc.h" #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +49,7 @@ 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);