mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-24 10:19:07 +08:00
libbpf: Introduce libbpf_bpf_link_type_str
This change introduces a new function, libbpf_bpf_link_type_str, to the public libbpf API. The function allows users to get a string representation for a bpf_link_type enum variant. Signed-off-by: Daniel Müller <deso@posteo.net> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Quentin Monnet <quentin@isovalent.com> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20220523230428.3077108-11-deso@posteo.net
This commit is contained in:
committed by
Andrii Nakryiko
parent
bdbce77631
commit
37218f49fa
@@ -463,6 +463,7 @@ LIBBPF_0.8.0 {
|
||||
LIBBPF_1.0.0 {
|
||||
global:
|
||||
libbpf_bpf_attach_type_str;
|
||||
libbpf_bpf_link_type_str;
|
||||
libbpf_bpf_map_type_str;
|
||||
libbpf_bpf_prog_type_str;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user