Re: [PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-01-09 Thread Matt Fleming
On Thu, 08 Jan, at 12:51:17PM, Peter Zijlstra wrote: > On Fri, Nov 14, 2014 at 09:15:12PM +, Matt Fleming wrote: > > +/* > > + * Deallocate the RMIDs from any events that conflict with @event, and > > + * place them on the back of the group list. > > + */ > > +static void intel_cqm_sched_out_ev

Re: [PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-01-09 Thread Matt Fleming
On Thu, 08 Jan, at 12:49:36PM, Peter Zijlstra wrote: > On Fri, Nov 14, 2014 at 09:15:12PM +, Matt Fleming wrote: > > +/* > > + * Deallocate the RMIDs from any events that conflict with @event, and > > + * place them on the back of the group list. > > + */ > > +static void intel_cqm_sched_out_ev

Re: [PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-01-08 Thread Peter Zijlstra
On Fri, Nov 14, 2014 at 09:15:12PM +, Matt Fleming wrote: > +/* > + * Deallocate the RMIDs from any events that conflict with @event, and > + * place them on the back of the group list. > + */ > +static void intel_cqm_sched_out_events(struct perf_event *event) > +{ > + struct perf_event *gr

Re: [PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-01-08 Thread Peter Zijlstra
On Fri, Nov 14, 2014 at 09:15:12PM +, Matt Fleming wrote: > +/* > + * Deallocate the RMIDs from any events that conflict with @event, and > + * place them on the back of the group list. > + */ > +static void intel_cqm_sched_out_events(struct perf_event *event) I realize this function name is a

[PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2014-11-14 Thread Matt Fleming
From: Matt Fleming We can leverage the workqueue that we use for RMID rotation to support scheduling of conflicting monitoring events. Allowing events that monitor conflicting things is done at various other places in the perf subsystem, so there's precedent there. An example of two conflicting

[PATCH 11/11] perf/x86/intel: Enable conflicting event scheduling for CQM

2014-11-06 Thread Matt Fleming
From: Matt Fleming We can leverage the workqueue that we use for RMID rotation to support scheduling of conflicting monitoring events. Allowing events that monitor conflicting things is done at various other places in the perf subsystem, so there's precedent there. An example of two conflicting