Searched refs:tag_name (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 994 const char *tag_name, *func_name; in collect_kfuncs() local 1010 tag_name = btf__name_by_offset(btf, t->name_off); in collect_kfuncs() 1011 if (strcmp(tag_name, "bpf_kfunc") != 0) in collect_kfuncs() 1115 const char *param_name, *tag_name; in process_kfunc_with_implicit_args() local 1162 tag_name = btf__name_by_offset(btf, t->name_off); in process_kfunc_with_implicit_args() 1163 if (strcmp(tag_name, "bpf_kfunc") == 0) in process_kfunc_with_implicit_args() 1169 err = btf__add_decl_attr(btf, tag_name, new_func_id, idx); in process_kfunc_with_implicit_args() 1171 err = btf__add_decl_tag(btf, tag_name, new_func_id, idx); in process_kfunc_with_implicit_args() 1175 tag_name, tmp_name); in process_kfunc_with_implicit_args()
|