Skip to content

BPF tracepoints

Daniel Borkmann lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3trace: add variant without spacing in trace_print_hex_seqinclude/linux/trace_events.h include/trace/trace_events.h kernel/trace/trace_output.c+13 -54 replies
2/3lib, traceevent: add PRINT_HEX_STR varianttools/lib/traceevent/event-parse.c tools/lib/traceevent/event-parse.h tools/perf/util/scripting-engines/trace-event-perl.c +1 more+34 -31 reply
3/3bpf: add initial bpf tracepointsdrivers/net/ethernet/mellanox/mlx4/en_rx.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c drivers/net/ethernet/netronome/nfp/nfp_net_common.c +8 more+483 -150 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAlexei StarovoitovSteven Rostedt (VMware)
1/3
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] BPF tracepoints

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
Signature · 1 line
1.9.3