projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ABI to select the output method
[lttng-modules.git]
/
probes
/
lttng-probe-kvm.c
diff --git
a/probes/lttng-probe-kvm.c
b/probes/lttng-probe-kvm.c
index b70b058bdecf9f123b801bd5f772738104c4e01f..9efc6dd168802a9f8b6e91364af009935e12dbd3 100644
(file)
--- a/
probes/lttng-probe-kvm.c
+++ b/
probes/lttng-probe-kvm.c
@@
-4,19
+4,27
@@
* Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* LTTng kvm probes.
* Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* LTTng kvm probes.
+ *
+ * Dual LGPL v2.1/GPL v2 license.
*/
#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.023396 seconds
and
4
git commands to generate.