Lines Matching +full:non +full:- +full:descriptive

1 // SPDX-License-Identifier: GPL-2.0
26 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol()
48 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
49 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
85 int l = strlen(name) - strlen(*p); in is_ignored_symbol()
127 * the short name, less descriptive but the same ("[kernel]" in both in test__vmlinux_matches_kallsyms_cb1()
130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1()
137 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb1()
139 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb1()
150 u64 mem_start = map__unmap_ip(args->vmlinux_map, map__start(map)); in test__vmlinux_matches_kallsyms_cb2()
151 u64 mem_end = map__unmap_ip(args->vmlinux_map, map__end(map)); in test__vmlinux_matches_kallsyms_cb2()
153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2()
158 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb2()
160 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb2()
163 pr_info("WARN: %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as", in test__vmlinux_matches_kallsyms_cb2()
166 pr_info(":\nWARN: *%" PRIx64 "-%" PRIx64 " %" PRIx64, in test__vmlinux_matches_kallsyms_cb2()
180 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb3()
182 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb3()
217 * and find the .ko files that match them in /lib/modules/`uname -r`/. in test__vmlinux_matches_kallsyms()
230 * and has parts that only make sense if using the non-kcore code. in test__vmlinux_matches_kallsyms()
255 * Now repeat step 2, this time for the vmlinux file we'll auto-locate. in test__vmlinux_matches_kallsyms()
272 * maps__reloc_vmlinux will notice and set proper ->[un]map_ip routines in test__vmlinux_matches_kallsyms()
294 if (sym->start == sym->end) in test__vmlinux_matches_kallsyms()
297 mem_start = map__unmap_ip(args.vmlinux_map, sym->start); in test__vmlinux_matches_kallsyms()
298 mem_end = map__unmap_ip(args.vmlinux_map, sym->end); in test__vmlinux_matches_kallsyms()
303 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
305 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
308 * set that by using the next symbol start - 1, in test__vmlinux_matches_kallsyms()
315 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
318 mem_start, sym->name, mem_end, in test__vmlinux_matches_kallsyms()
319 UM(pair->end)); in test__vmlinux_matches_kallsyms()
330 sym->name, NULL); in test__vmlinux_matches_kallsyms()
332 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
336 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
339 mem_start, sym->name, first_pair->name); in test__vmlinux_matches_kallsyms()
350 } else if (is_ignored_symbol(sym->name, sym->type)) { in test__vmlinux_matches_kallsyms()
357 mem_start, sym->name); in test__vmlinux_matches_kallsyms()
360 err = -1; in test__vmlinux_matches_kallsyms()