> -----Original Message----- > From: Paolo Bonzini [mailto:[email protected]] > Sent: Monday, July 14, 2014 9:40 AM > To: Liang, Kan; Peter Zijlstra > Cc: [email protected]; [email protected]; [email protected] > Subject: Re: [PATCH V5 1/2] perf ignore LBR and extra_regs > > Il 14/07/2014 15:36, Liang, Kan ha scritto: > >> > Kan Liang, what happens if CONFIG_PARAVIRT=y? Do you get garbage > >> > or just no events reported? > >> > > > Guest rdmsr/wrmsr will eventually call rdmsr_safe/wrmsr_safe. They will > handle the #GP. So there is no error report in guest. > > Yeah, but what's the effect on the output of perf?
They can be still counted/sampled, but the results are garbage. Kan > > Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

