Re: [patch 03/10] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support

From: Alexei Starovoitov
Date: Thu Apr 16 2015 - 15:00:27 EST


On 4/16/15 11:13 AM, Vince Weaver wrote:

This manpage patch relates to the addition of the
PERF_EVENT_IOC_SET_BPF ioctl in the following commit:

Signed-off-by: Vince Weaver <vincent.weaver@xxxxxxxxx>

+.TP
+.BR PERF_EVENT_IOC_SET_BPF " (since Linux 4.1)"
+.\" commit 2541517c32be2531e0da59dfd7efc1ce844644f5
+This allows attaching a Berkeley Packet Filter (BPF)
+program to an existing kprobe tracepoint event.
+
+The argument is a BPF program id that was created by

... is a BPF program FD ...

other than that it looks good. Thank you for documenting!

btw, I'll refresh my month old bpf(2) patch:
http://thread.gmane.org/gmane.linux.man/8676
with the latest details and repost.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/