Home
last modified time | relevance | path

Searched refs:btf_kind_safe (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/bpf/bpftool/
H A Dbtf.c97 static int btf_kind_safe(int kind) in btf_kind_safe() function
111 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
114 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)], in dump_btf_type()
379 btf_kind_str[btf_kind_safe(btf_kind(vt))], in dump_btf_type()