X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-probe-regmap.c;h=f68566587f7933c2ef07f14187002cb6c9f1d0b2;hb=4598b13be45c88c336a38c44265cb844da291193;hp=7c1fd00bfa1963bf38d88b9aa162ebe0a2e79822;hpb=b87700e318c27267890cbd6fb5e50b687279131b;p=lttng-modules.git diff --git a/probes/lttng-probe-regmap.c b/probes/lttng-probe-regmap.c index 7c1fd00b..f6856658 100644 --- a/probes/lttng-probe-regmap.c +++ b/probes/lttng-probe-regmap.c @@ -23,12 +23,17 @@ #include #include +#include "../lttng-kernel-version.h" +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ -#include +#include <../../drivers/base/regmap/trace.h> + +#undef TRACE_INCLUDE_PATH +#undef TRACE_INCLUDE_FILE /* * Create LTTng tracepoint probes. @@ -42,3 +47,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng regmap probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);