Add event macro reset header, add kvm probe
[lttng-modules.git] / probes / lttng-probe-kvm.c
diff --git a/probes/lttng-probe-kvm.c b/probes/lttng-probe-kvm.c
new file mode 100644 (file)
index 0000000..b70b058
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * probes/lttng-probe-kvm.c
+ *
+ * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * LTTng kvm probes.
+ */
+
+#include <linux/module.h>
+
+/*
+ * Create LTTng tracepoint probes.
+ */
+#define LTTNG_PACKAGE_BUILD
+#define CREATE_TRACE_POINTS
+#undef CONFIG_EVENT_TRACING    /* Don't create Ftrace probes */
+
+#include <linux/kvm_host.h>
+#include <trace/events/kvm.h>
+
+MODULE_LICENSE("GPL and additional rights");
+MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
+MODULE_DESCRIPTION("LTTng kvm probes");
This page took 0.023878 seconds and 4 git commands to generate.