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


Groups > linux.kernel > #1566263

[PATCH net-next 0/3] BPF tracepoints

From Daniel Borkmann <daniel@iogearbox.net>
Newsgroups linux.kernel
Subject [PATCH net-next 0/3] BPF tracepoints
Date 2017-01-25 02:30 +0100
Message-ID <t3kzn-3xe-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This set adds tracepoints to BPF for better introspection and
debugging. The first two patches are prerequisite for the actual
third patch that adds the tracepoints. I think the first two are
small and straight forward enough that they could ideally go via
net-next, but I'm also open to other suggestions on how to route
them in case that's not applicable (it would reduce potential
merge conflicts on BPF side, though). For details, please see
individual patches.

Thanks a lot!

Daniel Borkmann (3):
  trace: add variant without spacing in trace_print_hex_seq
  lib, traceevent: add PRINT_HEX_STR variant
  bpf: add initial bpf tracepoints

 drivers/net/ethernet/mellanox/mlx4/en_rx.c         |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    |  12 +-
 .../net/ethernet/netronome/nfp/nfp_net_common.c    |  15 +-
 drivers/net/ethernet/qlogic/qede/qede_fp.c         |   4 +
 drivers/net/virtio_net.c                           |  12 +-
 include/linux/bpf_trace.h                          |   7 +
 include/linux/trace_events.h                       |   3 +-
 include/trace/events/bpf.h                         | 347 +++++++++++++++++++++
 include/trace/events/xdp.h                         |  53 ++++
 include/trace/trace_events.h                       |   8 +-
 kernel/bpf/core.c                                  |   9 +
 kernel/bpf/inode.c                                 |  17 +-
 kernel/bpf/syscall.c                               |  19 +-
 kernel/trace/trace_output.c                        |   7 +-
 tools/lib/traceevent/event-parse.c                 |  34 +-
 tools/lib/traceevent/event-parse.h                 |   1 +
 .../perf/util/scripting-engines/trace-event-perl.c |   1 +
 .../util/scripting-engines/trace-event-python.c    |   1 +
 18 files changed, 530 insertions(+), 23 deletions(-)
 create mode 100644 include/linux/bpf_trace.h
 create mode 100644 include/trace/events/bpf.h
 create mode 100644 include/trace/events/xdp.h

-- 
1.9.3

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


Thread

[PATCH net-next 0/3] BPF tracepoints Daniel Borkmann <daniel@iogearbox.net> - 2017-01-25 02:30 +0100
  [PATCH net-next 1/3] trace: add variant without spacing in trace_print_hex_seq Daniel Borkmann <daniel@iogearbox.net> - 2017-01-25 02:30 +0100
    Re: [PATCH net-next 1/3] trace: add variant without spacing in  trace_print_hex_seq Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-01-26 21:00 +0100
      Re: [PATCH net-next 1/3] trace: add variant without spacing in trace_print_hex_seq Daniel Borkmann <daniel@iogearbox.net> - 2017-01-26 21:50 +0100
  Re: [PATCH net-next 0/3] BPF tracepoints David Miller <davem@davemloft.net> - 2017-01-25 19:20 +0100

csiph-web