Re: [PATCH 2/4] perf: Allow guest PEBS for KVM owned counters

2014-05-30 Thread Peter Zijlstra
On Fri, May 30, 2014 at 09:03:57AM -0700, Andi Kleen wrote: > On Fri, May 30, 2014 at 09:31:53AM +0200, Peter Zijlstra wrote: > > On Thu, May 29, 2014 at 06:12:05PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > Currently perf unconditionally disables PEBS for guest. > > > > > > Now

Re: [PATCH 2/4] perf: Allow guest PEBS for KVM owned counters

2014-05-30 Thread Andi Kleen
On Fri, May 30, 2014 at 09:31:53AM +0200, Peter Zijlstra wrote: > On Thu, May 29, 2014 at 06:12:05PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Currently perf unconditionally disables PEBS for guest. > > > > Now that we have the infrastructure in place to handle > > it we can allow it

Re: [PATCH 2/4] perf: Allow guest PEBS for KVM owned counters

2014-05-30 Thread Peter Zijlstra
On Thu, May 29, 2014 at 06:12:05PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Currently perf unconditionally disables PEBS for guest. > > Now that we have the infrastructure in place to handle > it we can allow it for KVM owned guest events. For > the perf needs to know that a event is owne