Home
last modified time | relevance | path

Searched refs:btf__name_by_offset (Results 1 – 10 of 10) sorted by relevance

/tools/bpf/bpftool/
Dbtf_dumper.c292 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct()
319 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var()
341 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_datasec()
439 BTF_PRINT_ARG("%s ", btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
443 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
447 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
451 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
465 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
496 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
500 btf__name_by_offset(btf, t->name_off)); in __btf_dumper_type_only()
[all …]
Dbtf.c81 return btf__name_by_offset(btf, off) ? : "(invalid)"; in btf_str()
/tools/lib/bpf/
Dlibbpf.map114 btf__name_by_offset;
Dbtf.h82 LIBBPF_API const char *btf__name_by_offset(const struct btf *btf, __u32 offset);
Dlibbpf.c1046 const char *name = btf__name_by_offset(btf, m->name_off); in get_map_field_int()
1088 map_name = btf__name_by_offset(obj->btf, var->name_off); in bpf_object__init_user_btf_map()
1140 const char *name = btf__name_by_offset(obj->btf, m->name_off); in bpf_object__init_user_btf_map()
1296 name = btf__name_by_offset(obj->btf, t->name_off); in bpf_object__init_user_btf_maps()
1393 name = (char *)btf__name_by_offset(btf, t->name_off); in bpf_object__sanitize_btf()
2439 name = btf__name_by_offset(btf, m->name_off); in bpf_core_spec_parse()
2526 local_name = btf__name_by_offset(local_btf, t->name_off); in bpf_core_find_cands()
2538 targ_name = btf__name_by_offset(targ_btf, t->name_off); in bpf_core_find_cands()
2657 local_name = btf__name_by_offset(local_btf, local_member->name_off); in bpf_core_match_member()
2679 targ_name = btf__name_by_offset(targ_btf, m->name_off); in bpf_core_match_member()
[all …]
Dbtf.c306 const char *name = btf__name_by_offset(btf, t->name_off); in btf__find_by_name()
505 const char *name = btf__name_by_offset(btf, t->name_off); in btf_fixup_datasec()
536 name = btf__name_by_offset(btf, t_var->name_off); in btf_fixup_datasec()
620 const char *btf__name_by_offset(const struct btf *btf, __u32 offset) in btf__name_by_offset() function
1011 info_sec_name = btf__name_by_offset(btf, sinfo->sec_name_off); in btf_ext_reloc_info()
Dbtf_dump.c107 return btf__name_by_offset(d->btf, name_off); in btf_name_of()
/tools/perf/util/
Dbpf-event.c138 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
Dannotate.c1816 srcline = btf__name_by_offset(btf, linfo->line_off); in symbol__disassemble_bpf()
/tools/testing/selftests/bpf/
Dtest_btf.c4282 fname = btf__name_by_offset(btf, t->name_off); in do_test_file()