netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] BPF event output helper improvements
@ 2016-07-14 16:08 Daniel Borkmann
  2016-07-14 16:08 ` [PATCH net-next v2 1/3] perf, events: add non-linear data support for raw records Daniel Borkmann
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Borkmann @ 2016-07-14 16:08 UTC (permalink / raw)
  To: davem
  Cc: alexei.starovoitov, peterz, tgraf, netdev, linux-kernel,
	Daniel Borkmann

This set adds improvements to the BPF event output helper to
support non-linear data sampling, here specifically, for skb
context. For details please see individual patches. The set
is based against net-next tree.

v1 -> v2:
  - Integrated and adapted Peter's diff into patch 1, updated
    the remaining ones accordingly. Thanks Peter!

Thanks a lot!

Daniel Borkmann (3):
  perf, events: add non-linear data support for raw records
  bpf, perf: split bpf_perf_event_output
  bpf: avoid stack copy and use skb ctx for event output

 arch/s390/kernel/perf_cpum_sf.c |  9 ++++--
 arch/x86/events/amd/ibs.c       |  8 +++--
 include/linux/bpf.h             |  7 ++++-
 include/linux/perf_event.h      | 20 ++++++++++++-
 include/uapi/linux/bpf.h        |  2 ++
 kernel/bpf/core.c               |  6 ++--
 kernel/events/core.c            | 66 ++++++++++++++++++++++++++++-------------
 kernel/events/internal.h        | 16 +++++++---
 kernel/trace/bpf_trace.c        | 66 +++++++++++++++++++++++------------------
 net/core/filter.c               | 43 ++++++++++++++++++++++++++-
 10 files changed, 180 insertions(+), 63 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-15 21:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14 16:08 [PATCH net-next v2 0/3] BPF event output helper improvements Daniel Borkmann
2016-07-14 16:08 ` [PATCH net-next v2 1/3] perf, events: add non-linear data support for raw records Daniel Borkmann
2016-07-14 16:08 ` [PATCH net-next v2 2/3] bpf, perf: split bpf_perf_event_output Daniel Borkmann
2016-07-14 16:08 ` [PATCH net-next v2 3/3] bpf: avoid stack copy and use skb ctx for event output Daniel Borkmann
2016-07-15 21:24 ` [PATCH net-next v2 0/3] BPF event output helper improvements David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).