Searched refs:attach_type_str (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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 | 71 const char *attach_type_str; in show_link_attach_type_json() local 73 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_json() 74 if (attach_type_str) in show_link_attach_type_json() 75 jsonw_string_field(wtr, "attach_type", attach_type_str); in show_link_attach_type_json() 236 const char *attach_type_str; in show_link_attach_type_plain() local 238 attach_type_str = libbpf_bpf_attach_type_str(attach_type); in show_link_attach_type_plain() 239 if (attach_type_str) in show_link_attach_type_plain() 240 printf("attach_type %s ", attach_type_str); in show_link_attach_type_plain()
|
D | prog.c | 72 const char *attach_type_str; in parse_attach_type() local 74 attach_type_str = libbpf_bpf_attach_type_str(type); in parse_attach_type() 75 if (!strcmp(str, attach_type_str)) in parse_attach_type()
|
/linux-6.1.9/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()
|