On Thu, Apr 05, 2012 at 05:38:40PM +0300, Avi Kivity wrote: > On 04/05/2012 04:57 PM, Gleb Natapov wrote: > > > > > > > May be it used NMI based profiling. We should ask oprofile developers. > > > As I said I am almost sure my inability to run it on a host is probably > > > PEBKAC, although I ran the same script exactly on the host and the > > > guest (the script is from the first email of this thread) > > > > > After upgrading the kernel to latest git from whatever it was there the > > same script works and counts CPU_CLK_UNHALT events. > > > > This is even while it violates the Intel guidelines? > Yes, but who says the result is correct :) It seems that we handle global ctrl msr wrong. That is counter can be enabled either in global ctrl or in eventsel. Trying to confirm that. -- Gleb. -- 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