KVM: SVM: Create trace events for VMGEXIT processing
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 10 Dec 2020 17:09:48 +0000 (11:09 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 10:20:49 +0000 (05:20 -0500)
commitd523ab6ba2753bd41b4447ae48024182cb4da94f
treec1f09121606b98cebde52427aacd4287216a500a
parente1d71116b64a54c3948d2692d4338e643408c411
KVM: SVM: Create trace events for VMGEXIT processing

Add trace events for entry to and exit from VMGEXIT processing. The vCPU
id and the exit reason will be common for the trace events. The exit info
fields will represent the input and output values for the entry and exit
events, respectively.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <25357dca49a38372e8f483753fb0c1c2a70a6898.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c
arch/x86/kvm/trace.h
arch/x86/kvm/x86.c