Searched refs:attach_type_str (Results 1 – 3 of 3) sorted by relevance
90 const char *attach_type_str; in parse_attach_type() local94 attach_type_str = libbpf_bpf_attach_type_str(type); in parse_attach_type()95 if (!attach_type_str) in parse_attach_type()97 if (!strcmp(str, attach_type_str)) in parse_attach_type()105 attach_type_str = bpf_attach_type_input_str(type); in parse_attach_type()106 if (!attach_type_str) in parse_attach_type()108 if (is_prefix(str, attach_type_str)) in parse_attach_type()148 const char *attach_type_str; in show_bpf_prog() local161 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_bpf_prog()180 if (attach_type_str) in show_bpf_prog()[all …]
144 const char *attach_type_str; in show_link_attach_type_json() local146 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_json()147 if (attach_type_str) in show_link_attach_type_json()148 jsonw_string_field(wtr, "attach_type", attach_type_str); in show_link_attach_type_json()720 const char *attach_type_str; in show_link_attach_type_plain() local722 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_plain()723 if (attach_type_str) in show_link_attach_type_plain()724 printf("attach_type %s ", attach_type_str); in show_link_attach_type_plain()
42 const char *attach_type_str; in test_libbpf_bpf_attach_type_str() local49 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in test_libbpf_bpf_attach_type_str()50 ASSERT_OK_PTR(attach_type_str, attach_type_name); in test_libbpf_bpf_attach_type_str()52 snprintf(buf, sizeof(buf), "BPF_%s", attach_type_str); in test_libbpf_bpf_attach_type_str()