Re: [PATCH] KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed

2019-07-17 Thread Like Xu
Hi Joe, On 2019/7/18 13:18, Joe Perches wrote: On Thu, 2019-07-18 at 12:49 +0800, Like Xu wrote: If a perf_event creation fails due to any reason of the host perf subsystem, it has no chance to log the corresponding event for guest which may cause abnormal sampling data in guest result. In debu

Re: [PATCH] KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed

2019-07-17 Thread Joe Perches
On Thu, 2019-07-18 at 12:49 +0800, Like Xu wrote: > If a perf_event creation fails due to any reason of the host perf > subsystem, it has no chance to log the corresponding event for guest > which may cause abnormal sampling data in guest result. In debug mode, > this message helps to understand th

[PATCH] KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed

2019-07-17 Thread Like Xu
If a perf_event creation fails due to any reason of the host perf subsystem, it has no chance to log the corresponding event for guest which may cause abnormal sampling data in guest result. In debug mode, this message helps to understand the state of vPMC and we should not limit the number of occu