Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-09 Thread Mathieu Poirier
On Mon, 9 Jul 2018 at 10:49, Mathieu Poirier wrote: > > On Fri, 6 Jul 2018 at 17:22, Kim Phillips wrote: > > > > On Thu, 5 Jul 2018 16:13:42 -0600 > > Mathieu Poirier wrote: > > > > Hi Mathieu, > > > > > This patch adds the mechanic needed for user space to send PMU specific > >

Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-09 Thread Mathieu Poirier
On Mon, 9 Jul 2018 at 10:49, Mathieu Poirier wrote: > > On Fri, 6 Jul 2018 at 17:22, Kim Phillips wrote: > > > > On Thu, 5 Jul 2018 16:13:42 -0600 > > Mathieu Poirier wrote: > > > > Hi Mathieu, > > > > > This patch adds the mechanic needed for user space to send PMU specific > >

Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-09 Thread Mathieu Poirier
On Fri, 6 Jul 2018 at 17:22, Kim Phillips wrote: > > On Thu, 5 Jul 2018 16:13:42 -0600 > Mathieu Poirier wrote: > > Hi Mathieu, > > > This patch adds the mechanic needed for user space to send PMU specific > > I think you meant 'mechanism' here: mechanics fix

Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-09 Thread Mathieu Poirier
On Fri, 6 Jul 2018 at 17:22, Kim Phillips wrote: > > On Thu, 5 Jul 2018 16:13:42 -0600 > Mathieu Poirier wrote: > > Hi Mathieu, > > > This patch adds the mechanic needed for user space to send PMU specific > > I think you meant 'mechanism' here: mechanics fix

Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-06 Thread Kim Phillips
On Thu, 5 Jul 2018 16:13:42 -0600 Mathieu Poirier wrote: Hi Mathieu, > This patch adds the mechanic needed for user space to send PMU specific I think you meant 'mechanism' here: mechanics fix cars :) > +static void perf_drv_config_replace(struct perf_event

Re: [PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-06 Thread Kim Phillips
On Thu, 5 Jul 2018 16:13:42 -0600 Mathieu Poirier wrote: Hi Mathieu, > This patch adds the mechanic needed for user space to send PMU specific I think you meant 'mechanism' here: mechanics fix cars :) > +static void perf_drv_config_replace(struct perf_event

[PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-05 Thread Mathieu Poirier
This patch adds the mechanic needed for user space to send PMU specific configuration to the kernel driver using an ioctl() command. That way events can keep track of options that don't fit in the perf_event_attr structure like the selection of a CoreSight sink to use for the session.

[PATCH v2 2/7] perf/core: Use ioctl to communicate driver configuration to kernel

2018-07-05 Thread Mathieu Poirier
This patch adds the mechanic needed for user space to send PMU specific configuration to the kernel driver using an ioctl() command. That way events can keep track of options that don't fit in the perf_event_attr structure like the selection of a CoreSight sink to use for the session.