projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change event creation errval to EINVAL
[lttng-modules.git]
/
probes
/
lttng-probe-kvm.c
diff --git
a/probes/lttng-probe-kvm.c
b/probes/lttng-probe-kvm.c
index b70b058bdecf9f123b801bd5f772738104c4e01f..05988e556c9cb4caf6833a49544e00cd0351f06a 100644
(file)
--- a/
probes/lttng-probe-kvm.c
+++ b/
probes/lttng-probe-kvm.c
@@
-7,16
+7,22
@@
*/
#include <linux/module.h>
*/
#include <linux/module.h>
+#include <linux/kvm_host.h>
+
+/*
+ * Create the tracepoint static inlines from the kernel to validate that our
+ * trace event macros match the kernel we run on.
+ */
+#include <trace/events/kvm.h>
/*
* Create LTTng tracepoint probes.
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
/*
* Create LTTng tracepoint probes.
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
-#
undef CONFIG_EVENT_TRACING /* Don't create Ftrace probes */
+#
define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
-#include <linux/kvm_host.h>
-#include <trace/events/kvm.h>
+#include "../instrumentation/events/lttng-module/kvm.h"
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
This page took
0.02455 seconds
and
4
git commands to generate.