Lines Matching refs:machine
35 static int machine__process_bpf_event_load(struct machine *machine, in machine__process_bpf_event_load() argument
40 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
57 struct map *map = maps__find(machine__kernel_maps(machine), addr); in machine__process_bpf_event_load()
71 int machine__process_bpf(struct machine *machine, union perf_event *event, in machine__process_bpf() argument
79 return machine__process_bpf_event_load(machine, event, sample); in machine__process_bpf()
165 struct machine *machine, in perf_event__synthesize_one_bpf_prog() argument
262 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
263 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
265 machine, process); in perf_event__synthesize_one_bpf_prog()
280 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
281 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
299 machine, process); in perf_event__synthesize_one_bpf_prog()
311 struct machine *machine; member
318 struct machine *machine = data->machine; in process_bpf_image() local
338 memset((void *) event + event->header.size, 0, machine->id_hdr_size); in process_bpf_image()
339 event->header.size += machine->id_hdr_size; in process_bpf_image()
341 return perf_tool__process_synth_event(data->tool, event, machine, in process_bpf_image()
379 struct machine *machine, in perf_event__synthesize_bpf_events() argument
389 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events()
416 machine, fd, in perf_event__synthesize_bpf_events()
434 .machine = machine, in perf_event__synthesize_bpf_events()