Lines Matching refs:kallsyms
23 struct machine kallsyms, vmlinux; in test__vmlinux_matches_kallsyms() local
34 machine__init(&kallsyms, "", HOST_KERNEL_ID); in test__vmlinux_matches_kallsyms()
44 if (machine__create_kernel_maps(&kallsyms) < 0) { in test__vmlinux_matches_kallsyms()
60 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms") <= 0) { in test__vmlinux_matches_kallsyms()
73 kallsyms_map = machine__kernel_map(&kallsyms); in test__vmlinux_matches_kallsyms()
123 first_pair = machine__find_kernel_symbol(&kallsyms, mem_start, NULL); in test__vmlinux_matches_kallsyms()
152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
166 } else if (mem_start == kallsyms.vmlinux_map->end) { in test__vmlinux_matches_kallsyms()
193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? in test__vmlinux_matches_kallsyms()
215 pair = maps__find(&kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms()
237 maps = machine__kernel_maps(&kallsyms); in test__vmlinux_matches_kallsyms()
249 machine__exit(&kallsyms); in test__vmlinux_matches_kallsyms()