Lines Matching full:machine
226 struct machine *machine)
229 struct map_groups *kmaps = &machine->kmaps;
244 if (machine__is_host(machine))
271 event->mmap.pid = machine->pid;
391 struct machine *machine,
414 mmap_name = machine__mmap_name(machine, name_buff, sizeof(name_buff));
415 if (machine__is_host(machine)) {
424 if (machine__is_default_guest(machine))
427 sprintf(path, "%s/proc/kallsyms", machine->root_dir);
435 map = machine->vmlinux_maps[MAP__FUNCTION];
451 event->mmap.pid = machine->pid;
503 struct machine *machine;
507 machine = perf_session__findnew_machine(session, event->mmap.pid);
508 if (!machine) {
509 pr_err("Can't find id %d's machine\n", event->mmap.pid);
513 machine__mmap_name(machine, kmmap_prefix, sizeof(kmmap_prefix));
514 if (machine__is_host(machine))
543 map = machine__new_module(machine, event->mmap.start,
562 struct dso *kernel = __dsos__findnew(&machine->kernel_dsos,
568 if (__machine__create_kernel_maps(machine, kernel) < 0)
571 perf_event__set_kernel_mmap_len(event, machine->vmlinux_maps);
579 perf_session__set_kallsyms_ref_reloc_sym(machine->vmlinux_maps,
584 if (machine__is_default_guest(machine)) {
588 dso__load(kernel, machine->vmlinux_maps[MAP__FUNCTION],
601 struct machine *machine;
619 machine = perf_session__find_host_machine(session);
620 if (machine == NULL)
625 map = map__new(&machine->user_dsos, event->mmap.start,
693 struct machine *machine = NULL;
702 machine = perf_session__find_host_machine(session);
703 if (machine == NULL) {
707 mg = &machine->kmaps;
710 machine = perf_session__find_host_machine(session);
713 machine = perf_session__find_machine(session, pid);
714 if (machine == NULL) {
718 mg = &machine->kmaps;
755 machine && mg != &machine->kmaps) {
756 mg = &machine->kmaps;
794 * Have we already created the kernel maps for the host machine?