@@ -1,6 +1,8 @@
#if !defined(_TRACE_KVM_MAIN_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_KVM_MAIN_H
+#undef TRACE_CONFIG
+#define TRACE_CONFIG CONFIG_KVM_TRACER
#include <linux/tracepoint.h>
#undef TRACE_SYSTEM
@@ -517,6 +517,15 @@ config NAPI_TRACER
If unsure, say N.
+config KVM_TRACER
+ bool "KVM tracing"
+ depends on KVM
+ select GENERIC_TRACER
+ help
+ Trace lots of various events inside KVM.
+
+ If unsure, say N.
+
config KPROBE_EVENT
depends on KPROBES
depends on HAVE_REGS_AND_STACK_ACCESS_API