Searched refs:attach_type_str (Results 1 – 4 of 4) sorted by relevance
/linux/tools/bpf/bpftool/ |
H A D | cgroup.c | 79 const char *attach_type_str; in parse_attach_type() local 83 attach_type_str = libbpf_bpf_attach_type_str(type); in parse_attach_type() 84 if (!attach_type_str) in parse_attach_type() 86 if (!strcmp(str, attach_type_str)) in parse_attach_type() 94 attach_type_str = bpf_attach_type_input_str(type); in parse_attach_type() 95 if (!attach_type_str) in parse_attach_type() 97 if (is_prefix(str, attach_type_str)) in parse_attach_type() 137 const char *attach_type_str; in show_bpf_prog() local 150 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_bpf_prog() 169 if (attach_type_str) in show_bpf_prog() [all...] |
H A D | link.c | 144 const char *attach_type_str; in show_link_attach_type_json() local 146 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() 609 const char *attach_type_str; in show_link_attach_type_plain() local 611 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_plain() 612 if (attach_type_str) in show_link_attach_type_plain() 613 printf("attach_type %s ", attach_type_str); in show_link_attach_type_plain()
|
H A D | prog.c | 74 const char *attach_type_str; in parse_attach_type() local 76 attach_type_str = libbpf_bpf_attach_type_str(type); in parse_attach_type() 77 if (!strcmp(str, attach_type_str)) in parse_attach_type()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_str.c | 42 const char *attach_type_str; in test_libbpf_bpf_attach_type_str() local 49 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()
|