• Home
  • Raw
  • Download

Lines Matching refs:dso

122 	struct dso *pos, *n;  in dsos__purge()
565 static struct dso *machine__findnew_module_dso(struct machine *machine, in machine__findnew_module_dso()
569 struct dso *dso; in machine__findnew_module_dso() local
573 dso = __dsos__find(&machine->dsos, m->name, true); in machine__findnew_module_dso()
574 if (!dso) { in machine__findnew_module_dso()
575 dso = __dsos__addnew(&machine->dsos, m->name); in machine__findnew_module_dso()
576 if (dso == NULL) in machine__findnew_module_dso()
579 dso__set_module_info(dso, m, machine); in machine__findnew_module_dso()
580 dso__set_long_name(dso, strdup(filename), true); in machine__findnew_module_dso()
583 dso__get(dso); in machine__findnew_module_dso()
586 return dso; in machine__findnew_module_dso()
613 static void dso__adjust_kmod_long_name(struct dso *dso, const char *filename) in dso__adjust_kmod_long_name() argument
617 if (!filename || !dso || !dso->long_name) in dso__adjust_kmod_long_name()
619 if (dso->long_name[0] != '[') in dso__adjust_kmod_long_name()
628 dso__set_long_name(dso, dup_filename, true); in dso__adjust_kmod_long_name()
635 struct dso *dso = NULL; in machine__findnew_module_map() local
649 dso__adjust_kmod_long_name(map->dso, filename); in machine__findnew_module_map()
653 dso = machine__findnew_module_dso(machine, &m, filename); in machine__findnew_module_map()
654 if (dso == NULL) in machine__findnew_module_map()
657 map = map__new2(start, dso, MAP__FUNCTION); in machine__findnew_module_map()
667 dso__put(dso); in machine__findnew_module_map()
686 bool (skip)(struct dso *dso, int parm), int parm) in machine__fprintf_dsos_buildid() argument
692 bool (skip)(struct dso *dso, int parm), int parm) in machines__fprintf_dsos_buildid() argument
708 struct dso *kdso = machine__kernel_map(machine)->dso; in machine__fprintf_vmlinux_path()
744 static struct dso *machine__get_kernel(struct machine *machine) in machine__get_kernel()
747 struct dso *kernel; in machine__get_kernel()
832 struct dso *kernel, in machine__create_extra_kernel_map()
859 static u64 find_entry_trampoline(struct dso *dso) in find_entry_trampoline() argument
867 struct symbol *sym = dso__first_symbol(dso, MAP__FUNCTION); in find_entry_trampoline()
892 struct dso *kernel) in machine__map_x86_64_entry_trampolines()
920 int __machine__create_kernel_maps(struct machine *machine, struct dso *kernel) in __machine__create_kernel_maps()
1062 int ret = __dso__load_kallsyms(map->dso, filename, map, no_kcore); in __machine__load_kallsyms()
1065 dso__set_loaded(map->dso, type); in __machine__load_kallsyms()
1086 int ret = dso__load_vmlinux_path(map->dso, map); in machine__load_vmlinux_path()
1089 dso__set_loaded(map->dso, type); in machine__load_vmlinux_path()
1128 static bool is_kmod_dso(struct dso *dso) in is_kmod_dso() argument
1130 return dso->symtab_type == DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE || in is_kmod_dso()
1131 dso->symtab_type == DSO_BINARY_TYPE__GUEST_KMODULE; in is_kmod_dso()
1148 dso__set_long_name(map->dso, long_name, true); in map_groups__set_module_path()
1149 dso__kernel_module_get_build_id(map->dso, ""); in map_groups__set_module_path()
1155 if (m->comp && is_kmod_dso(map->dso)) in map_groups__set_module_path()
1156 map->dso->symtab_type++; in map_groups__set_module_path()
1256 dso__kernel_module_get_build_id(map->dso, machine->root_dir); in machine__create_module()
1289 struct dso *kernel = machine__get_kernel(machine); in machine__create_kernel_maps()
1347 struct dso *dso; in machine__uses_kcore() local
1349 list_for_each_entry(dso, &machine->dsos.head, node) { in machine__uses_kcore()
1350 if (dso__is_kcore(dso)) in machine__uses_kcore()
1393 struct dso *kernel = NULL; in machine__process_kernel_mmap_event()
1394 struct dso *dso; in machine__process_kernel_mmap_event() local
1398 list_for_each_entry(dso, &machine->dsos.head, node) { in machine__process_kernel_mmap_event()
1416 if (!dso->kernel || in machine__process_kernel_mmap_event()
1417 is_kernel_module(dso->long_name, in machine__process_kernel_mmap_event()
1422 kernel = dso; in machine__process_kernel_mmap_event()
2382 struct dso *machine__findnew_dso(struct machine *machine, const char *filename) in machine__findnew_dso()
2396 *modp = __map__is_kmodule(map) ? (char *)map->dso->short_name : NULL; in machine__resolve_kernel_addr()