All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/7] bpf: drop libbpf from bpf preload.
@ 2022-01-31 22:05 Alexei Starovoitov
  2022-01-31 22:05 ` [PATCH bpf-next 1/7] libbpf: Add support for bpf iter in light skeleton Alexei Starovoitov
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Alexei Starovoitov @ 2022-01-31 22:05 UTC (permalink / raw)
  To: davem; +Cc: daniel, andrii, bpf, kernel-team

From: Alexei Starovoitov <ast@kernel.org>

CO-RE in the kernel support allows bpf preload to switch to light skeleton
and remove libbpf dependency.
This reduces the size of bpf_preload_umd from 300kbyte to 19kbyte and
eventually will make "kernel skeleton" possible.

Alexei Starovoitov (7):
  libbpf: Add support for bpf iter in light skeleton.
  libbpf: Open code low level bpf commands.
  libbpf: Open code raw_tp_open and link_create commands.
  bpf: Remove unnecessary setrlimit from bpf preload.
  bpf: Convert bpf preload to light skeleton.
  bpf: Open code obj_get_info_by_fd in bpf preload.
  bpf: Drop libbpf, libelf, libz dependency from bpf preload.

 kernel/bpf/preload/Makefile                   |  28 +-
 kernel/bpf/preload/iterators/Makefile         |   6 +-
 kernel/bpf/preload/iterators/iterators.c      |  28 +-
 .../bpf/preload/iterators/iterators.lskel.h   | 428 ++++++++++++++++++
 kernel/bpf/preload/iterators/iterators.skel.h | 412 -----------------
 tools/bpf/bpftool/gen.c                       |   7 +-
 tools/lib/bpf/skel_internal.h                 |  70 ++-
 7 files changed, 527 insertions(+), 452 deletions(-)
 create mode 100644 kernel/bpf/preload/iterators/iterators.lskel.h
 delete mode 100644 kernel/bpf/preload/iterators/iterators.skel.h

-- 
2.30.2


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

end of thread, other threads:[~2022-02-01 23:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 22:05 [PATCH bpf-next 0/7] bpf: drop libbpf from bpf preload Alexei Starovoitov
2022-01-31 22:05 ` [PATCH bpf-next 1/7] libbpf: Add support for bpf iter in light skeleton Alexei Starovoitov
2022-02-01 18:40   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 2/7] libbpf: Open code low level bpf commands Alexei Starovoitov
2022-02-01 18:52   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 3/7] libbpf: Open code raw_tp_open and link_create commands Alexei Starovoitov
2022-02-01 19:07   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 4/7] bpf: Remove unnecessary setrlimit from bpf preload Alexei Starovoitov
2022-02-01 19:09   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 5/7] bpf: Convert bpf preload to light skeleton Alexei Starovoitov
2022-02-01 19:18   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 6/7] bpf: Open code obj_get_info_by_fd in bpf preload Alexei Starovoitov
2022-02-01 19:26   ` Martin KaFai Lau
2022-01-31 22:05 ` [PATCH bpf-next 7/7] bpf: Drop libbpf, libelf, libz dependency from " Alexei Starovoitov
2022-02-01 19:27   ` Martin KaFai Lau
2022-02-01 23:00 ` [PATCH bpf-next 0/7] bpf: drop libbpf " patchwork-bot+netdevbpf

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.