X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-regmap.c;h=88a4b8b961268ca201fca985a41e349e97e5e3ba;hb=37ddebc43f04886b44ae624791466e9a3942b9b4;hp=7c1fd00bfa1963bf38d88b9aa162ebe0a2e79822;hpb=b87700e318c27267890cbd6fb5e50b687279131b;p=lttng-modules.git diff --git a/probes/lttng-probe-regmap.c b/probes/lttng-probe-regmap.c index 7c1fd00b..88a4b8b9 100644 --- a/probes/lttng-probe-regmap.c +++ b/probes/lttng-probe-regmap.c @@ -23,22 +23,31 @@ #include #include +#include +#include /* * 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. */ #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/regmap.h" +#include 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);