diff options
author | Evgeniy Litvinenko <evgeniyl@fb.com> | 2021-07-24 00:15:11 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-07-24 01:57:03 +0200 |
commit | e244d34d0ea1aebf60e83ee6d1701a81448f31c1 (patch) | |
tree | 375629c2a1def9dca3b26ed13566e6b4bfca8a01 /kernel | |
parent | Merge branch 'bpf: Allow bpf tcp iter to do bpf_(get|set)sockopt' (diff) | |
download | linux-e244d34d0ea1aebf60e83ee6d1701a81448f31c1.tar.xz linux-e244d34d0ea1aebf60e83ee6d1701a81448f31c1.zip |
libbpf: Add bpf_map__pin_path function
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@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210723221511.803683-1-evgeniyl@fb.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions