X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-regmap.c;h=88a4b8b961268ca201fca985a41e349e97e5e3ba;hb=5af93225401cb8e6a573cab85c4f677b5897e216;hp=8850b55abe6629f70ab9023a547b8379e4331ad7;hpb=13ab8b0a749053960f81a4924a3ed27775518f94;p=lttng-modules.git diff --git a/probes/lttng-probe-regmap.c b/probes/lttng-probe-regmap.c index 8850b55a..88a4b8b9 100644 --- a/probes/lttng-probe-regmap.c +++ b/probes/lttng-probe-regmap.c @@ -23,22 +23,26 @@ #include #include -#include "../lttng-tracer.h" +#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 ");