mbox series

[bpf-next,0/2] libbpf: Add new interfaces

Message ID cover.1550185216.git.rdna@fb.com
Headers show
Series libbpf: Add new interfaces | expand

Message

Andrey Ignatov Feb. 14, 2019, 11:01 p.m. UTC
The patch set adds a couple of new interfaces to libbpf:

Patch 1 adds bpf_map__resize() to resize map before loading bpf_object;
Patch 2 adds bpf_object__btf() to get struct btf * from bpf_object__btf.


Andrey Ignatov (2):
  libbpf: Introduce bpf_map__resize
  libbpf: Introduce bpf_object__btf

 tools/lib/bpf/libbpf.c   | 19 +++++++++++++++++++
 tools/lib/bpf/libbpf.h   |  4 ++++
 tools/lib/bpf/libbpf.map |  2 ++
 3 files changed, 25 insertions(+)