Skip to content

tools/bpf: two changes in libbpf

Yonghong Song netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools/bpf: add const qualifier to btf__get_map_kv_tids() map_name parametertools/lib/bpf/btf.c tools/lib/bpf/btf.h+2 -22 replies
2/2tools/bpf: add log_level to bpf_load_program_attrtools/lib/bpf/bpf.c tools/lib/bpf/bpf.h tools/testing/selftests/bpf/test_sock.c+12 -22 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/2A-b
2/2

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 bpf-next 0/2] tools/bpf: two changes in libbpf

Two changes in libbpf. Patch #1 adds "const" qualifier to parameter "map_name" of function btf__get_map_kv_tids().
Patch #2 adds log_level to structure bpf_load_program_attr so verifier log level 2 can be used with api function bpf_load_program_xattr(). Please see individual patches for details.

Yonghong Song (2):
tools/bpf: add const qualifier to btf__get_map_kv_tids() map_name
parameter
tools/bpf: add log_level to bpf_load_program_attr

 tools/lib/bpf/bpf.c                     | 4 +++-
 tools/lib/bpf/bpf.h                     | 1 +
 tools/lib/bpf/btf.c                     | 2 +-
 tools/lib/bpf/btf.h                     | 2 +-
 tools/testing/selftests/bpf/test_sock.c | 9 ++++++++-
 5 files changed, 14 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1