Re: [PATCH v2 bpf-next] libbpf: Add bpf_map__pin_path function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(+)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux