Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Kim Phillips
On Tue, 21 Aug 2018 11:16:49 -0600 Mathieu Poirier wrote: > On Mon, 20 Aug 2018 at 08:36, Suzuki K Poulose wrote: > > > > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > > On Mon, 20 Aug 2018 11:03:03 +0100 > > > Suzuki K Poulose wrote: > > > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Kim Phillips
On Tue, 21 Aug 2018 11:16:49 -0600 Mathieu Poirier wrote: > On Mon, 20 Aug 2018 at 08:36, Suzuki K Poulose wrote: > > > > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > > On Mon, 20 Aug 2018 11:03:03 +0100 > > > Suzuki K Poulose wrote: > > > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Mathieu Poirier
On Mon, 20 Aug 2018 at 08:36, Suzuki K Poulose wrote: > > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 11:03:03 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > >>> On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Mathieu Poirier
On Mon, 20 Aug 2018 at 08:36, Suzuki K Poulose wrote: > > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 11:03:03 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > >>> On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Kim Phillips
On Tue, 21 Aug 2018 09:39:22 +0100 Suzuki K Poulose wrote: > On 08/20/2018 04:25 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 15:36:47 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/20/2018 03:22 PM, Kim Phillips wrote: > >>> On Mon, 20 Aug 2018 11:03:03 +0100 > >>> Suzuki K Poulose

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Kim Phillips
On Tue, 21 Aug 2018 09:39:22 +0100 Suzuki K Poulose wrote: > On 08/20/2018 04:25 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 15:36:47 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/20/2018 03:22 PM, Kim Phillips wrote: > >>> On Mon, 20 Aug 2018 11:03:03 +0100 > >>> Suzuki K Poulose

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Suzuki K Poulose
On 08/20/2018 04:25 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 15:36:47 +0100 Suzuki K Poulose wrote: On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Suzuki K Poulose
On 08/20/2018 04:25 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 15:36:47 +0100 Suzuki K Poulose wrote: On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Kim Phillips
On Mon, 20 Aug 2018 15:36:47 +0100 Suzuki K Poulose wrote: > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 11:03:03 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > >>> On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Kim Phillips
On Mon, 20 Aug 2018 15:36:47 +0100 Suzuki K Poulose wrote: > On 08/20/2018 03:22 PM, Kim Phillips wrote: > > On Mon, 20 Aug 2018 11:03:03 +0100 > > Suzuki K Poulose wrote: > > > >> On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > >>> On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Kim Phillips
On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: > On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > > On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >> > >> On Wed, 15 Aug 2018 10:39:13 +0100 > >> Will Deacon wrote: > >> > >>> On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Kim Phillips
On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: > On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > > On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >> > >> On Wed, 15 Aug 2018 10:39:13 +0100 > >> Will Deacon wrote: > >> > >>> On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: The other thing

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: The other thing

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-16 Thread Mathieu Poirier
On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > > On Wed, 15 Aug 2018 10:39:13 +0100 > Will Deacon wrote: > > > On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > > > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > > > The other thing that's going on here is that I'm

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-16 Thread Mathieu Poirier
On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > > On Wed, 15 Aug 2018 10:39:13 +0100 > Will Deacon wrote: > > > On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > > > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > > > The other thing that's going on here is that I'm

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Kim Phillips
On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: > On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > > The other thing that's going on here is that I'm becoming numb to the > > > loathsome "failed to mmap with 12

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Kim Phillips
On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: > On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > > The other thing that's going on here is that I'm becoming numb to the > > > loathsome "failed to mmap with 12

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Will Deacon
On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > The other thing that's going on here is that I'm becoming numb to the > > loathsome "failed to mmap with 12 (Cannot allocate memory)" being > > returned no matter what the

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Will Deacon
On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > The other thing that's going on here is that I'm becoming numb to the > > loathsome "failed to mmap with 12 (Cannot allocate memory)" being > > returned no matter what the

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Mathieu Poirier
On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > On Tue, 14 Aug 2018 10:15:56 -0600 > Mathieu Poirier wrote: > > > On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > > It yields success for the --per-thread case..: > > > > > > $ sudo taskset -c 0 ./perf record -e cs_etm/@2001.etf/

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Mathieu Poirier
On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > On Tue, 14 Aug 2018 10:15:56 -0600 > Mathieu Poirier wrote: > > > On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > > It yields success for the --per-thread case..: > > > > > > $ sudo taskset -c 0 ./perf record -e cs_etm/@2001.etf/

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Kim Phillips
On Tue, 14 Aug 2018 10:15:56 -0600 Mathieu Poirier wrote: > On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > It yields success for the --per-thread case..: > > > > $ sudo taskset -c 0 ./perf record -e cs_etm/@2001.etf/ --per-thread > > uname -a > > Linux juno

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Kim Phillips
On Tue, 14 Aug 2018 10:15:56 -0600 Mathieu Poirier wrote: > On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > It yields success for the --per-thread case..: > > > > $ sudo taskset -c 0 ./perf record -e cs_etm/@2001.etf/ --per-thread > > uname -a > > Linux juno

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Mathieu Poirier
On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > On Wed, 18 Jul 2018 15:48:00 -0600 > Mathieu Poirier wrote: > > > This set adds the capability to communiate event specific configuration > > to the PMU kernel driver using an ioctl(). The functionatlity is made > > generic enough for anyone

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-14 Thread Mathieu Poirier
On Mon, 13 Aug 2018 at 11:46, Kim Phillips wrote: > > On Wed, 18 Jul 2018 15:48:00 -0600 > Mathieu Poirier wrote: > > > This set adds the capability to communiate event specific configuration > > to the PMU kernel driver using an ioctl(). The functionatlity is made > > generic enough for anyone

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-13 Thread Kim Phillips
On Wed, 18 Jul 2018 15:48:00 -0600 Mathieu Poirier wrote: > This set adds the capability to communiate event specific configuration > to the PMU kernel driver using an ioctl(). The functionatlity is made > generic enough for anyone to use but is targeted at the identification > of CoreSight

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-13 Thread Kim Phillips
On Wed, 18 Jul 2018 15:48:00 -0600 Mathieu Poirier wrote: > This set adds the capability to communiate event specific configuration > to the PMU kernel driver using an ioctl(). The functionatlity is made > generic enough for anyone to use but is targeted at the identification > of CoreSight