Skip to content
Commit e244d34d authored by Evgeniy Litvinenko's avatar Evgeniy Litvinenko Committed by Andrii Nakryiko
Browse files

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: default avatarEvgeniy Litvinenko <evgeniyl@fb.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210723221511.803683-1-evgeniyl@fb.com
parent d9e8d14b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment