Thread (15 messages) flat view 15 messages, 3 authors, 2019-10-27

Re: [PATCH bpf-next v2 2/4] libbpf: Store map pin path and status in struct bpf_map

From: Andrii Nakryiko <hidden>
Date: 2019-10-25 03:00:32
Also in: bpf

On Thu, Oct 24, 2019 at 6:11 AM Toke Høiland-Jørgensen [off-list ref] wrote:
From: Toke Høiland-Jørgensen <redacted>

Support storing and setting a pin path in struct bpf_map, which can be used
for automatic pinning. Also store the pin status so we can avoid attempts
to re-pin a map that has already been pinned (or reused from a previous
pinning).

Signed-off-by: Toke Høiland-Jørgensen <redacted>
---
Looks good!

Acked-by: Andrii Nakryiko <redacted>
 tools/lib/bpf/libbpf.c   |  115 ++++++++++++++++++++++++++++++++++++----------
 tools/lib/bpf/libbpf.h   |    3 +
 tools/lib/bpf/libbpf.map |    3 +
 3 files changed, 97 insertions(+), 24 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help