Searched refs:attach_type_str (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/bpf/bpftool/ |
D | cgroup.c | 45 const char *attach_type_str; in parse_attach_type() local 49 attach_type_str = libbpf_bpf_attach_type_str(type); in parse_attach_type() 50 if (!attach_type_str) in parse_attach_type() 52 if (!strcmp(str, attach_type_str)) in parse_attach_type() 60 attach_type_str = bpf_attach_type_input_str(type); in parse_attach_type() 61 if (!attach_type_str) in parse_attach_type() 63 if (is_prefix(str, attach_type_str)) in parse_attach_type() 103 const char *attach_type_str; in show_bpf_prog() local 116 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_bpf_prog() 135 if (attach_type_str) in show_bpf_prog() [all …]
|
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() 522 const char *attach_type_str; in show_link_attach_type_plain() local 524 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_plain() 525 if (attach_type_str) in show_link_attach_type_plain() 526 printf("attach_type %s ", attach_type_str); in show_link_attach_type_plain()
|
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-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
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()
|