Lines Matching refs:attach_type
142 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr)
146 attach_type_str = libbpf_bpf_attach_type_str(attach_type);
148 jsonw_string_field(wtr, "attach_type", attach_type_str);
150 jsonw_uint_field(wtr, "attach_type", attach_type);
500 show_link_attach_type_json(info->tracing.attach_type,
508 show_link_attach_type_json(info->cgroup.attach_type, json_wtr);
516 show_link_attach_type_json(info->netns.attach_type, json_wtr);
523 show_link_attach_type_json(info->tcx.attach_type, json_wtr);
527 show_link_attach_type_json(info->netkit.attach_type, json_wtr);
600 static void show_link_attach_type_plain(__u32 attach_type)
604 attach_type_str = libbpf_bpf_attach_type_str(attach_type);
606 printf("attach_type %s ", attach_type_str);
608 printf("attach_type %u ", attach_type);
888 show_link_attach_type_plain(info->tracing.attach_type);
896 show_link_attach_type_plain(info->cgroup.attach_type);
903 show_link_attach_type_plain(info->netns.attach_type);
911 show_link_attach_type_plain(info->tcx.attach_type);
916 show_link_attach_type_plain(info->netkit.attach_type);