projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: remove regmap instrumentation for kernels < 4.1
[lttng-modules.git]
/
probes
/
lttng-probe-regmap.c
diff --git
a/probes/lttng-probe-regmap.c
b/probes/lttng-probe-regmap.c
index 7c1fd00bfa1963bf38d88b9aa162ebe0a2e79822..f68566587f7933c2ef07f14187002cb6c9f1d0b2 100644
(file)
--- a/
probes/lttng-probe-regmap.c
+++ b/
probes/lttng-probe-regmap.c
@@
-23,12
+23,17
@@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/device.h>
+#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.
*/
/*
* Create the tracepoint static inlines from the kernel to validate that our
* trace event macros match the kernel we run on.
*/
-#include <trace/events/regmap.h>
+#include <../../drivers/base/regmap/trace.h>
+
+#undef TRACE_INCLUDE_PATH
+#undef TRACE_INCLUDE_FILE
/*
* Create LTTng tracepoint probes.
/*
* Create LTTng tracepoint probes.
@@
-42,3
+47,7
@@
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
MODULE_DESCRIPTION("LTTng regmap probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
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);
This page took
0.026079 seconds
and
4
git commands to generate.