From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Poirier Subject: [PATCH] perf_event_open.2: 4.9 PERF_EVENT_IOC_SET_DRV_CONFIGS support Date: Thu, 11 Aug 2016 11:09:25 -0600 Message-ID: <1470935365-2097-1-git-send-email-mathieu.poirier@linaro.org> Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: vince-yfjdyHUqu3OsTnJN9+BGXg@public.gmane.org, mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org List-Id: linux-man@vger.kernel.org This manpage patch relates to the addition of the PERF_EVENT_IOC_SET_DRV_CONFIGS ioctl. link: http://www.spinics.net/lists/kernel/msg2318998.html Signed-off-by: Mathieu Poirier --- man2/perf_event_open.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 3c894ccd1209..315b6a91079a 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -2732,6 +2732,12 @@ The argument is a BPF program file descriptor that was created by a previous .BR bpf (2) system call. +.TP +.BR PERF_EVENT_IOC_SET_DRV_CONFIGS " (since Linux 4.9)" +This makes it possible to pass configuration parameters to PMU drivers. +Configuration parameters are specific to each drivers. + +The argument is a pointer to the desired configuration parameters. .SS Using prctl A process can enable or disable all the event groups that are attached to it using the -- 2.7.4