Lines Matching full:machine

14 #include "machine.h"
137 struct thread *thread, struct machine *machine, in read_object_code() argument
149 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, in read_object_code()
174 ret_len = dso__data_read_offset(al.map->dso, machine, al.addr, buf1, in read_object_code()
247 static int process_sample_event(struct machine *machine, in process_sample_event() argument
260 thread = machine__findnew_thread(machine, sample.pid, sample.pid); in process_sample_event()
268 return read_object_code(sample.ip, READLEN, cpumode, thread, machine, in process_sample_event()
272 static int process_event(struct machine *machine, struct perf_evlist *evlist, in process_event() argument
276 return process_sample_event(machine, evlist, event, state); in process_event()
279 return machine__process_event(machine, event); in process_event()
284 static int process_events(struct machine *machine, struct perf_evlist *evlist, in process_events() argument
292 ret = process_event(machine, evlist, event, state); in process_events()
381 struct machine *machine; in do_test_code_reading() local
407 machine = &machines.host; in do_test_code_reading()
409 ret = machine__create_kernel_maps(machine); in do_test_code_reading()
420 map = machine->vmlinux_maps[MAP__FUNCTION]; in do_test_code_reading()
444 perf_event__process, machine); in do_test_code_reading()
450 thread = machine__findnew_thread(machine, pid, pid); in do_test_code_reading()
518 ret = process_events(machine, evlist, &state); in do_test_code_reading()
541 machine__delete_threads(machine); in do_test_code_reading()