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()
49 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
50 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol()
86 int l = strlen(name) - strlen(*p); in is_ignored_symbol()
128 * the short name, less descriptive but the same ("[kernel]" in both in test__vmlinux_matches_kallsyms_cb1()
131 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1()
132 (dso->kernel ? dso->short_name : dso->name)); 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()
160 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb2()
162 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb2()
165 pr_info("WARN: %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as", in test__vmlinux_matches_kallsyms_cb2()
166 map__start(map), map__end(map), map__pgoff(map), dso->name); in test__vmlinux_matches_kallsyms_cb2()
168 pr_info(":\nWARN: *%" PRIx64 "-%" PRIx64 " %" PRIx64, in test__vmlinux_matches_kallsyms_cb2()
170 pr_info(" %s\n", dso->name); in test__vmlinux_matches_kallsyms_cb2()
181 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb3()
183 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb3()
218 * and find the .ko files that match them in /lib/modules/`uname -r`/. in test__vmlinux_matches_kallsyms()
231 * and has parts that only make sense if using the non-kcore code. in test__vmlinux_matches_kallsyms()
256 * Now repeat step 2, this time for the vmlinux file we'll auto-locate. in test__vmlinux_matches_kallsyms()
273 * maps__reloc_vmlinux will notice and set proper ->[un]map_ip routines in test__vmlinux_matches_kallsyms()
295 if (sym->start == sym->end) in test__vmlinux_matches_kallsyms()
298 mem_start = map__unmap_ip(args.vmlinux_map, sym->start); in test__vmlinux_matches_kallsyms()
299 mem_end = map__unmap_ip(args.vmlinux_map, sym->end); in test__vmlinux_matches_kallsyms()
304 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
306 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
309 * set that by using the next symbol start - 1, in test__vmlinux_matches_kallsyms()
316 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
319 mem_start, sym->name, mem_end, in test__vmlinux_matches_kallsyms()
320 UM(pair->end)); in test__vmlinux_matches_kallsyms()
331 sym->name, NULL); in test__vmlinux_matches_kallsyms()
333 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
337 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
340 mem_start, sym->name, first_pair->name); in test__vmlinux_matches_kallsyms()
351 } else if (is_ignored_symbol(sym->name, sym->type)) { in test__vmlinux_matches_kallsyms()
358 mem_start, sym->name); in test__vmlinux_matches_kallsyms()
361 err = -1; in test__vmlinux_matches_kallsyms()