Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dxlated_dumper.c38 tmp = libbpf_reallocarray(dd->sym_mapping, dd->sym_count + 1, in kernel_syms_load()
39 sizeof(*dd->sym_mapping)); in kernel_syms_load()
42 free(dd->sym_mapping); in kernel_syms_load()
43 dd->sym_mapping = NULL; in kernel_syms_load()
47 dd->sym_mapping = tmp; in kernel_syms_load()
48 sym = &dd->sym_mapping[dd->sym_count]; in kernel_syms_load()
68 qsort(dd->sym_mapping, dd->sym_count, in kernel_syms_load()
69 sizeof(*dd->sym_mapping), kernel_syms_cmp); in kernel_syms_load()
74 free(dd->sym_mapping); in kernel_syms_destroy()
84 return dd->sym_mapping ? in kernel_syms_search()
[all …]
H A Dlink.c310 if (dd.sym_mapping[i].address != data[j].addr) in show_kprobe_multi_json()
313 jsonw_uint_field(json_wtr, "addr", dd.sym_mapping[i].address); in show_kprobe_multi_json()
314 jsonw_string_field(json_wtr, "func", dd.sym_mapping[i].name); in show_kprobe_multi_json()
316 if (dd.sym_mapping[i].module[0] == '\0') { in show_kprobe_multi_json()
320 jsonw_string_field(json_wtr, "module", dd.sym_mapping[i].module); in show_kprobe_multi_json()
744 if (dd.sym_mapping[i].address != data[j].addr) in show_kprobe_multi_plain()
747 dd.sym_mapping[i].address, data[j].cookie, dd.sym_mapping[i].name); in show_kprobe_multi_plain()
748 if (dd.sym_mapping[i].module[0] != '\0') in show_kprobe_multi_plain()
749 printf(" [%s] ", dd.sym_mapping[i].module); in show_kprobe_multi_plain()
H A Dxlated_dumper.h20 struct kernel_sym *sym_mapping; member