On Thu, Oct 24, 2019 at 6:11 AM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > > 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 <toke@xxxxxxxxxx> > --- Looks good! Acked-by: Andrii Nakryiko <andriin@xxxxxx> > 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(-) >