CC: kvm@xxxxxxxxxxxxxxx Signed-off-by: Jan Kara <jack@xxxxxxx> --- include/trace/events/kvm.h | 2 ++ kernel/trace/Kconfig | 9 +++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h index b17d49d..c85908c 100644 --- a/include/trace/events/kvm.h +++ b/include/trace/events/kvm.h @@ -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 diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 88b556c..abcd529 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -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 -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html