Home
last modified time | relevance | path

Searched refs:elem_type (Results 1 – 3 of 3) sorted by relevance

/tools/bpf/bpftool/
Dbtf_dumper.c180 const struct btf_type *elem_type; in is_str_array() local
186 elem_type = btf__type_by_id(btf, arr->type); in is_str_array()
190 while (elem_type && btf_is_mod(elem_type)) in is_str_array()
191 elem_type = btf__type_by_id(btf, elem_type->type); in is_str_array()
193 if (!elem_type || !btf_is_int(elem_type) || elem_type->size != 1) in is_str_array()
196 if (btf_int_encoding(elem_type) != BTF_INT_CHAR && in is_str_array()
197 strcmp("char", btf__name_by_offset(btf, elem_type->name_off))) in is_str_array()
/tools/lib/bpf/
Dbtf_dump.c1922 const struct btf_type *elem_type; in btf_dump_array_data() local
1928 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_array_data()
1936 if (btf_is_int(elem_type)) { in btf_dump_array_data()
1964 btf_dump_dump_type_data(d, NULL, elem_type, elem_type_id, data, 0, 0); in btf_dump_array_data()
2221 const struct btf_type *elem_type; in btf_dump_type_data_check_zero() local
2227 elem_type = skip_mods_and_typedefs(d->btf, elem_type_id, NULL); in btf_dump_type_data_check_zero()
2229 ischar = btf_is_int(elem_type) && elem_size == 1; in btf_dump_type_data_check_zero()
2240 err = btf_dump_type_data_check_zero(d, elem_type, in btf_dump_type_data_check_zero()
/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c567 switch (elem->elem_type) { in cs_etm_decoder__gen_trace_elem_printer()