Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254657

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

From Alexei Starovoitov <ast@plumgrid.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper
Date 2015-10-23 17:10 +0200
Message-ID <qmM8F-508-9@gated-at.bofh.it> (permalink)
References <qlRWN-706-3@gated-at.bofh.it> <qlRWN-706-1@gated-at.bofh.it> <qmLFE-4cC-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-21 05:10 +0200
  Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper He Kuang <hekuang@huawei.com> - 2015-10-21 12:10 +0200
    Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper "Wangnan (F)" <wangnan0@huawei.com> - 2015-10-21 13:10 +0200
      Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-21 22:10 +0200
  Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Peter Zijlstra <peterz@infradead.org> - 2015-10-21 14:10 +0200
    Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-21 19:30 +0200
      Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Peter Zijlstra <peterz@infradead.org> - 2015-10-21 21:40 +0200
  Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Peter Zijlstra <peterz@infradead.org> - 2015-10-22 16:00 +0200
    Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-22 17:40 +0200
  Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Peter Zijlstra <peterz@infradead.org> - 2015-10-23 16:40 +0200
    Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-23 17:10 +0200
      Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Peter Zijlstra <peterz@infradead.org> - 2015-10-23 18:50 +0200
        Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-23 19:30 +0200
          Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper "Wangnan (F)" <wangnan0@huawei.com> - 2015-10-26 02:50 +0100
            Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output()  helper Alexei Starovoitov <ast@plumgrid.com> - 2015-10-26 11:30 +0100

csiph-web