Thread (1 message) 1 message, 1 author, 2016-08-12

Re: [PATCH] perf_event_open.2: 4.9 PERF_EVENT_IOC_SET_DRV_CONFIGS support

From: Vince Weaver <hidden>
Date: 2016-08-12 16:52:42
Also in: linux-man

On Thu, 11 Aug 2016, Mathieu Poirier wrote:
quoted hunk
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 <redacted>
---
 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
This is a bit... vague.  So we're adding an interface to allow passing 
arbitrary binary blobs through the perf_event interface?

Is there any structure at all to these blobs?  From the other commit 
messages it looked like you'd be passing in some sort of string.

Vince
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help