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


Groups > linux.kernel > #1475378

Re: [PATCH v3 net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v3 net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events
Date 2016-09-02 20:00 +0200
Message-ID <sd0UV-2vl-5@gated-at.bofh.it> (permalink)
References <scLCx-1an-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alexei Starovoitov <ast@fb.com>
Date: Thu, 1 Sep 2016 18:37:20 -0700

> Hi Peter, Dave,
> 
> this patch set is a follow up to the discussion:
> https://lkml.kernel.org/r/20160804142853.GO6862%20()%20twins%20!%20programming%20!%20kicks-ass%20!%20net
> It turned out to be simpler than what we discussed.
> 
> Patches 1-3 is bpf-side prep for the main patch 4
> that adds bpf program as an overflow_handler to sw and hw perf_events.
> 
> Patches 5 and 6 are examples from myself and Brendan.
> 
> Peter,
> to implement your suggestion to add ifdef CONFIG_BPF_SYSCALL
> inside struct perf_event, I had to shuffle ifdefs in events/core.c
> Please double check whether that is what you wanted to see.
> 
> v2->v3: fixed few more minor issues
> v1->v2: fixed issues spotted by Peter and Daniel.

Series applied, thanks.

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


Thread

[PATCH v3 net-next 0/6] perf, bpf: add support for bpf in sw/hw perf_events Alexei Starovoitov <ast@fb.com> - 2016-09-02 03:40 +0200
  [PATCH v3 net-next 2/6] bpf: introduce BPF_PROG_TYPE_PERF_EVENT program type Alexei Starovoitov <ast@fb.com> - 2016-09-02 03:40 +0200
  [PATCH v3 net-next 6/6] samples/bpf: add sampleip example Alexei Starovoitov <ast@fb.com> - 2016-09-02 03:40 +0200
  [PATCH v3 net-next 5/6] samples/bpf: add perf_event+bpf example Alexei Starovoitov <ast@fb.com> - 2016-09-02 03:40 +0200
  [PATCH v3 net-next 3/6] bpf: perf_event progs should only use preallocated maps Alexei Starovoitov <ast@fb.com> - 2016-09-02 03:40 +0200
  Re: [PATCH v3 net-next 0/6] perf, bpf: add support for bpf in sw/hw  perf_events Peter Zijlstra <peterz@infradead.org> - 2016-09-02 11:40 +0200
  Re: [PATCH v3 net-next 0/6] perf, bpf: add support for bpf in  sw/hw perf_events David Miller <davem@davemloft.net> - 2016-09-02 20:00 +0200

csiph-web