All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/4] libbpf: Streamline internal BPF program sections handling
@ 2021-09-14  1:47 Andrii Nakryiko
  2021-09-14  1:47 ` [PATCH bpf-next 1/4] selftests/bpf: update selftests to always provide "struct_ops" SEC Andrii Nakryiko
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Andrii Nakryiko @ 2021-09-14  1:47 UTC (permalink / raw)
  To: bpf, ast, daniel; +Cc: andrii, kernel-team

This small patch set performs internal refactorings around libbpf BPF program
ELF section definitions' handling. This is preparatory changes for further
changes around making libbpf BPF program section handling more strict but also
pluggable and customizable, as part of the libbpf 1.0 effort. See individual
patches for details.

Andrii Nakryiko (4):
  selftests/bpf: update selftests to always provide "struct_ops" SEC
  libbpf: ensure BPF prog types are set before relocations
  libbpf: simplify BPF program auto-attach code
  libbpf: minimize explicit iterator of section definition array

 tools/lib/bpf/libbpf.c                        | 200 ++++++++----------
 tools/testing/selftests/bpf/progs/bpf_cubic.c |  12 +-
 2 files changed, 95 insertions(+), 117 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-09-14 17:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14  1:47 [PATCH bpf-next 0/4] libbpf: Streamline internal BPF program sections handling Andrii Nakryiko
2021-09-14  1:47 ` [PATCH bpf-next 1/4] selftests/bpf: update selftests to always provide "struct_ops" SEC Andrii Nakryiko
2021-09-14 17:21   ` Martin KaFai Lau
2021-09-14  1:47 ` [PATCH bpf-next 2/4] libbpf: ensure BPF prog types are set before relocations Andrii Nakryiko
2021-09-14 17:22   ` Martin KaFai Lau
2021-09-14  1:47 ` [PATCH bpf-next 3/4] libbpf: simplify BPF program auto-attach code Andrii Nakryiko
2021-09-14 17:32   ` Martin KaFai Lau
2021-09-14  1:47 ` [PATCH bpf-next 4/4] libbpf: minimize explicit iterator of section definition array Andrii Nakryiko
2021-09-14 17:32   ` Martin KaFai Lau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.