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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 11 Aug 2016, Mathieu Poirier wrote:

> 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 <mathieu.poirier@xxxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux