Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

From: Alexei Starovoitov
Date: Fri Oct 23 2015 - 11:02:08 EST


On 10/23/15 7:39 AM, Peter Zijlstra wrote:
On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote:
>+static const struct bpf_func_proto bpf_perf_event_output_proto = {
>+ .func = bpf_perf_event_output,
>+ .gpl_only = false,
Oh ?

no particular reason. key helper bpf_probe_read() is gpl, so all
bpf for tracing progs have to be gpl.
If you feel strongly about it, I can change it.

--
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/