From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965561AbcHDQ6s (ORCPT ); Thu, 4 Aug 2016 12:58:48 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:35937 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965407AbcHDQ6q (ORCPT ); Thu, 4 Aug 2016 12:58:46 -0400 Date: Thu, 4 Aug 2016 18:58:21 +0200 From: Peter Zijlstra To: Mathieu Poirier Cc: acme@kernel.org, jolsa@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vince Weaver , "Michael Kerrisk (man-pages)" Subject: Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Message-ID: <20160804165821.GT6862@twins.programming.kicks-ass.net> References: <1469742143-22245-1-git-send-email-mathieu.poirier@linaro.org> <1469742143-22245-2-git-send-email-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1469742143-22245-2-git-send-email-mathieu.poirier@linaro.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index c66a485a24ac..90fbc5fd3925 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -407,6 +407,7 @@ struct perf_event_attr { > #define PERF_EVENT_IOC_ID _IOR('$', 7, __u64 *) > #define PERF_EVENT_IOC_SET_BPF _IOW('$', 8, __u32) > #define PERF_EVENT_IOC_PAUSE_OUTPUT _IOW('$', 9, __u32) > +#define PERF_EVENT_IOC_SET_DRV_CONFIGS _IOW('$', 10, char *) Please also do a manpages patch.