Lines Matching refs:dso

83 	struct dso *pos, *n;  in dsos__delete()
461 static struct dso*
465 struct dso *dso; in machine__module_dso() local
467 dso = dsos__find(&machine->kernel_dsos, m->name, true); in machine__module_dso()
468 if (!dso) { in machine__module_dso()
469 dso = dsos__addnew(&machine->kernel_dsos, m->name); in machine__module_dso()
470 if (dso == NULL) in machine__module_dso()
474 dso->symtab_type = DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE; in machine__module_dso()
476 dso->symtab_type = DSO_BINARY_TYPE__GUEST_KMODULE; in machine__module_dso()
480 dso->symtab_type++; in machine__module_dso()
482 dso__set_short_name(dso, strdup(m->name), true); in machine__module_dso()
483 dso__set_long_name(dso, strdup(filename), true); in machine__module_dso()
486 return dso; in machine__module_dso()
493 struct dso *dso; in machine__new_module() local
504 dso = machine__module_dso(machine, &m, filename); in machine__new_module()
505 if (dso == NULL) in machine__new_module()
508 map = map__new2(start, dso, MAP__FUNCTION); in machine__new_module()
535 bool (skip)(struct dso *dso, int parm), int parm) in machine__fprintf_dsos_buildid() argument
542 bool (skip)(struct dso *dso, int parm), int parm) in machines__fprintf_dsos_buildid() argument
558 struct dso *kdso = machine->vmlinux_maps[MAP__FUNCTION]->dso; in machine__fprintf_vmlinux_path()
587 static struct dso *machine__get_kernel(struct machine *machine) in machine__get_kernel()
590 struct dso *kernel; in machine__get_kernel()
664 int __machine__create_kernel_maps(struct machine *machine, struct dso *kernel) in __machine__create_kernel_maps()
799 int ret = dso__load_kallsyms(map->dso, filename, map, filter); in machine__load_kallsyms()
802 dso__set_loaded(map->dso, type); in machine__load_kallsyms()
818 int ret = dso__load_vmlinux_path(map->dso, map, filter); in machine__load_vmlinux_path()
821 dso__set_loaded(map->dso, type); in machine__load_vmlinux_path()
860 static bool is_kmod_dso(struct dso *dso) in is_kmod_dso() argument
862 return dso->symtab_type == DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE || in is_kmod_dso()
863 dso->symtab_type == DSO_BINARY_TYPE__GUEST_KMODULE; in is_kmod_dso()
880 dso__set_long_name(map->dso, long_name, true); in map_groups__set_module_path()
881 dso__kernel_module_get_build_id(map->dso, ""); in map_groups__set_module_path()
887 if (m->comp && is_kmod_dso(map->dso)) in map_groups__set_module_path()
888 map->dso->symtab_type++; in map_groups__set_module_path()
977 dso__kernel_module_get_build_id(map->dso, machine->root_dir); in machine__create_module()
1010 struct dso *kernel = machine__get_kernel(machine); in machine__create_kernel_maps()
1063 struct dso *dso; in machine__uses_kcore() local
1065 list_for_each_entry(dso, &machine->kernel_dsos.head, node) { in machine__uses_kcore()
1066 if (dso__is_kcore(dso)) in machine__uses_kcore()
1109 struct dso *kernel = NULL; in machine__process_kernel_mmap_event()
1110 struct dso *dso; in machine__process_kernel_mmap_event() local
1112 list_for_each_entry(dso, &machine->kernel_dsos.head, node) { in machine__process_kernel_mmap_event()
1113 if (is_kernel_module(dso->long_name)) in machine__process_kernel_mmap_event()
1116 kernel = dso; in machine__process_kernel_mmap_event()