Lines Matching refs:attach_type
98 static int show_bpf_prog(int id, enum bpf_attach_type attach_type,
118 attach_type_str = libbpf_bpf_attach_type_str(attach_type);
138 jsonw_string_field(json_wtr, "attach_type", attach_type_str);
140 jsonw_uint_field(json_wtr, "attach_type", attach_type);
154 printf("type %-10u", attach_type);
514 enum bpf_attach_type attach_type;
531 attach_type = parse_attach_type(argv[1]);
532 if (attach_type == __MAX_BPF_ATTACH_TYPE) {
554 if (bpf_prog_attach(prog_fd, cgroup_fd, attach_type, attach_flags)) {
574 enum bpf_attach_type attach_type;
589 attach_type = parse_attach_type(argv[1]);
590 if (attach_type == __MAX_BPF_ATTACH_TYPE) {
601 if (bpf_prog_detach2(prog_fd, cgroup_fd, attach_type)) {