Home | History | Annotate | Download | only in tests

Lines Matching refs:kallsyms

27 	struct machine kallsyms, vmlinux;
36 * both vmlinux + .ko files and from /proc/kallsyms split by modules.
38 machine__init(&kallsyms, "", HOST_KERNEL_ID);
44 * Create the kernel maps for kallsyms and the DSO where we will then
45 * load /proc/kallsyms. Also create the modules maps from /proc/modules
48 if (machine__create_kernel_maps(&kallsyms) < 0) {
56 * Load and split /proc/kallsyms into multiple maps, one per module.
58 if (machine__load_kallsyms(&kallsyms, "/proc/kallsyms", type, NULL) <= 0) {
66 * kallsyms will be internally on demand sorted by name so that we can
71 kallsyms_map = machine__kernel_map(&kallsyms, type);
117 * in the kallsyms dso. For the ones that are in both, check its names and
132 first_pair = machine__find_kernel_symbol(&kallsyms, type,
140 * kallsyms don't have the symbol end, so we
158 * kallsyms.
186 pr_debug("%#" PRIx64 ": %s not on kallsyms\n",
200 * If it is the kernel, kallsyms is always "[kernel.kallsyms]", while
205 pair = map_groups__find_by_name(&kallsyms.kmaps, type,
215 pr_info("Maps in vmlinux with a different name in kallsyms:\n");
223 pair = map_groups__find(&kallsyms.kmaps, type, mem_start);
229 pr_info(" %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as",
239 pr_info("Maps only in kallsyms:\n");
241 for (nd = rb_first(&kallsyms.kmaps.maps[type]);
249 machine__exit(&kallsyms);