Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457170
| From | Mathieu Poirier <mathieu.poirier@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration |
| Date | 2016-08-05 17:40 +0200 |
| Message-ID | <s2Po6-Va-21@gated-at.bofh.it> (permalink) |
| References | <s01lL-3Ao-1@gated-at.bofh.it> <s01lL-3Ao-5@gated-at.bofh.it> <s2u9X-3yY-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 4 August 2016 at 10:58, Peter Zijlstra <peterz@infradead.org> 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.
>>
>> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
>
>> 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.
Patch 3/6 in this set documents the new option
(tools/perf/Documentation/perf-record.tx). Is this what you were
looking for? If not please expand on the information you want to see
added add and where.
Thanks,
Mathieu
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V3 0/6] perf: Driver specific configuration for PMU Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
[PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Peter Zijlstra <peterz@infradead.org> - 2016-08-04 19:00 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-05 17:40 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Peter Zijlstra <peterz@infradead.org> - 2016-08-05 18:00 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Peter Zijlstra <peterz@infradead.org> - 2016-08-04 19:10 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-05 17:50 +0200
Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration Peter Zijlstra <peterz@infradead.org> - 2016-08-05 18:00 +0200
[PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux() Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux() Peter Zijlstra <peterz@infradead.org> - 2016-08-04 19:20 +0200
Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux() Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-08-08 13:00 +0200
Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux() Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-08 16:50 +0200
[PATCH V3 6/6] coresight: etm-perf: incorporating sink definition from cmd line Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
[PATCH V3 5/6] coresight: adding sink parameter to function coresight_build_path() Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
[PATCH V3 4/6] perf tools: pushing driver configuration down to the kernel Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
Re: [PATCH V3 4/6] perf tools: pushing driver configuration down to the kernel Jiri Olsa <jolsa@redhat.com> - 2016-07-31 14:10 +0200
Re: [PATCH V3 4/6] perf tools: pushing driver configuration down to the kernel Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-08-04 00:00 +0200
[PATCH V3 3/6] perf tools: add infrastructure for PMU specific configuration Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-28 23:50 +0200
Re: [PATCH V3 3/6] perf tools: add infrastructure for PMU specific configuration Jiri Olsa <jolsa@redhat.com> - 2016-07-31 14:20 +0200
csiph-web