On Fri, Jul 23, 2021 at 3:16 PM Evgeniy Litvinenko <evgeniyl@xxxxxx> wrote: > > Add bpf_map__pin_path, so that the inconsistently named > bpf_map__get_pin_path can be deprecated later. This is part of the > effort towards libbpf v1.0: https://github.com/libbpf/libbpf/issues/307 > > Also, add a selftest for the new function. > > Signed-off-by: Evgeniy Litvinenko <evgeniyl@xxxxxx> > --- > v1->v2: > - Fix a rookie whitespace issue. Congrats with the first kernel patch! LGTM, applied to bpf-next. > > tools/lib/bpf/libbpf.c | 5 +++++ > tools/lib/bpf/libbpf.h | 1 + > tools/lib/bpf/libbpf.map | 1 + > tools/testing/selftests/bpf/prog_tests/pinning.c | 9 +++++++++ > 4 files changed, 16 insertions(+) > [...]