Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-10 Thread Vince Weaver
On Wed, 10 Aug 2016, Mathieu Poirier wrote: > > After a little bit of digging around I understand that manpages have > to be written _after_ the new ioctl call has been added - at least > that's what I deduce when looking at what Vince Weaver did for the BPF > support: The manpage patch doesn't

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-10 Thread Vince Weaver
On Wed, 10 Aug 2016, Mathieu Poirier wrote: > > After a little bit of digging around I understand that manpages have > to be written _after_ the new ioctl call has been added - at least > that's what I deduce when looking at what Vince Weaver did for the BPF > support: The manpage patch doesn't

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-10 Thread Mathieu Poirier
On 5 August 2016 at 09:53, Peter Zijlstra wrote: > On Fri, Aug 05, 2016 at 09:35:05AM -0600, Mathieu Poirier wrote: >> On 4 August 2016 at 10:58, Peter Zijlstra wrote: >> > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> >> This

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-10 Thread Mathieu Poirier
On 5 August 2016 at 09:53, Peter Zijlstra wrote: > On Fri, Aug 05, 2016 at 09:35:05AM -0600, Mathieu Poirier wrote: >> On 4 August 2016 at 10:58, Peter Zijlstra wrote: >> > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> >> This patch somewhat mimics the work done on address

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Peter Zijlstra
On Fri, Aug 05, 2016 at 09:41:15AM -0600, Mathieu Poirier wrote: > On 4 August 2016 at 10:59, Peter Zijlstra wrote: > > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > >> This patch somewhat mimics the work done on address filters to > >> add the

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Peter Zijlstra
On Fri, Aug 05, 2016 at 09:41:15AM -0600, Mathieu Poirier wrote: > On 4 August 2016 at 10:59, Peter Zijlstra wrote: > > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > >> This patch somewhat mimics the work done on address filters to > >> add the infrastructure needed to pass

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Peter Zijlstra
On Fri, Aug 05, 2016 at 09:35:05AM -0600, Mathieu Poirier wrote: > On 4 August 2016 at 10:58, Peter Zijlstra wrote: > > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > >> This patch somewhat mimics the work done on address filters to > >> add the

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Peter Zijlstra
On Fri, Aug 05, 2016 at 09:35:05AM -0600, Mathieu Poirier wrote: > On 4 August 2016 at 10:58, Peter Zijlstra wrote: > > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > >> This patch somewhat mimics the work done on address filters to > >> add the infrastructure needed to pass

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Mathieu Poirier
On 4 August 2016 at 10:59, Peter Zijlstra wrote: > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> This patch somewhat mimics the work done on address filters to >> add the infrastructure needed to pass PMU specific HW >> configuration to the driver

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Mathieu Poirier
On 4 August 2016 at 10:59, Peter Zijlstra wrote: > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> This patch somewhat mimics the work done on address filters to >> add the infrastructure needed to pass PMU specific HW >> configuration to the driver before a session starts. >

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Mathieu Poirier
On 4 August 2016 at 10:58, Peter Zijlstra wrote: > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> This patch somewhat mimics the work done on address filters to >> add the infrastructure needed to pass PMU specific HW >> configuration to the driver

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-05 Thread Mathieu Poirier
On 4 August 2016 at 10:58, Peter Zijlstra wrote: > On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: >> This patch somewhat mimics the work done on address filters to >> add the infrastructure needed to pass PMU specific HW >> configuration to the driver before a session starts. >>

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-04 Thread Peter Zijlstra
On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > This patch somewhat mimics the work done on address filters to > add the infrastructure needed to pass PMU specific HW > configuration to the driver before a session starts. > > Signed-off-by: Mathieu Poirier

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-04 Thread Peter Zijlstra
On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > This patch somewhat mimics the work done on address filters to > add the infrastructure needed to pass PMU specific HW > configuration to the driver before a session starts. I'm thinking we want to specify a syntax and validate

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-04 Thread Peter Zijlstra
On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > This patch somewhat mimics the work done on address filters to > add the infrastructure needed to pass PMU specific HW > configuration to the driver before a session starts. > > Signed-off-by: Mathieu Poirier > diff --git

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-04 Thread Peter Zijlstra
On Thu, Jul 28, 2016 at 03:42:18PM -0600, Mathieu Poirier wrote: > This patch somewhat mimics the work done on address filters to > add the infrastructure needed to pass PMU specific HW > configuration to the driver before a session starts. I'm thinking we want to specify a syntax and validate

[PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-07-28 Thread Mathieu Poirier
This patch somewhat mimics the work done on address filters to add the infrastructure needed to pass PMU specific HW configuration to the driver before a session starts. Signed-off-by: Mathieu Poirier --- include/linux/perf_event.h| 9 +

[PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-07-28 Thread Mathieu Poirier
This patch somewhat mimics the work done on address filters to add the infrastructure needed to pass PMU specific HW configuration to the driver before a session starts. Signed-off-by: Mathieu Poirier --- include/linux/perf_event.h| 9 + include/uapi/linux/perf_event.h