projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: uaccess wrapper for CentOS >= 4.18.0-147
[lttng-modules.git]
/
probes
/
lttng-probe-regmap.c
diff --git
a/probes/lttng-probe-regmap.c
b/probes/lttng-probe-regmap.c
index 8850b55abe6629f70ab9023a547b8379e4331ad7..88a4b8b961268ca201fca985a41e349e97e5e3ba 100644
(file)
--- a/
probes/lttng-probe-regmap.c
+++ b/
probes/lttng-probe-regmap.c
@@
-23,22
+23,26
@@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/device.h>
-#include "../lttng-tracer.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.
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
/*
* 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
<instrumentation/events/lttng-module/regmap.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
This page took
0.022616 seconds
and
4
git commands to generate.