Lines Matching defs:machine

25 int thread__init_maps(struct thread *thread, struct machine *machine)
30 thread__set_maps(thread, maps__new(machine));
32 struct thread *leader = machine__findnew_thread(machine, pid, pid);
373 e_machine = thread__e_machine(thread, /*machine=*/NULL, /*e_flags=*/NULL);
379 uint16_t e_machine = thread__e_machine(thread, /*machine=*/NULL, /*e_flags=*/NULL);
455 struct machine *machine;
470 dso__e_machine_endian(dso, args->machine, &args->e_flags, &args->is_big_endian);
474 uint16_t thread__e_machine_endian(struct thread *thread, struct machine *machine, uint32_t *e_flags,
485 machine && machine->env ? perf_env__arch(machine->env) : NULL);
487 return perf_env__e_machine(machine ? machine->env : NULL, e_flags);
491 args.machine = machine;
504 if (machine == NULL) {
507 machine = maps__machine(maps);
508 args.machine = machine;
513 struct thread *parent = machine__findnew_thread(machine, pid, pid);
516 e_machine = thread__e_machine_endian(parent, machine, &local_e_flags,
531 bool is_live = machine->machines == NULL;
535 struct perf_session *session = container_of(machine->machines,
545 } else if (machine && machine->env) {
547 e_machine = perf_env__e_machine(machine->env, &local_e_flags);
548 args.is_big_endian = perf_arch_is_big_endian(perf_env__arch(machine->env));
569 struct thread *thread__main_thread(struct machine *machine, struct thread *thread)
577 return machine__find_thread(machine, thread__pid(thread), thread__pid(thread));
580 int thread__memcpy(struct thread *thread, struct machine *machine,
588 if (machine__kernel_ip(machine, ip))
610 return dso__data_read_offset(dso, machine, offset, buf, len);