Lines Matching refs:output_event
5630 struct perf_event *output_event);
5676 struct perf_event *output_event; in _perf_ioctl() local
5681 output_event = output.file->private_data; in _perf_ioctl()
5682 ret = perf_event_set_output(event, output_event); in _perf_ioctl()
12018 perf_event_set_output(struct perf_event *event, struct perf_event *output_event) in perf_event_set_output() argument
12023 if (!output_event) { in perf_event_set_output()
12029 if (event == output_event) in perf_event_set_output()
12035 if (output_event->cpu != event->cpu) in perf_event_set_output()
12041 if (output_event->cpu == -1 && output_event->ctx != event->ctx) in perf_event_set_output()
12047 if (output_event->clock != event->clock) in perf_event_set_output()
12054 if (is_write_backward(output_event) != is_write_backward(event)) in perf_event_set_output()
12060 if (has_aux(event) && has_aux(output_event) && in perf_event_set_output()
12061 event->pmu != output_event->pmu) in perf_event_set_output()
12071 mutex_lock_double(&event->mmap_mutex, &output_event->mmap_mutex); in perf_event_set_output()
12077 if (output_event) { in perf_event_set_output()
12079 rb = ring_buffer_get(output_event); in perf_event_set_output()
12095 if (output_event) in perf_event_set_output()
12096 mutex_unlock(&output_event->mmap_mutex); in perf_event_set_output()
12214 struct perf_event *group_leader = NULL, *output_event = NULL; in SYSCALL_DEFINE5() local
12296 output_event = group_leader; in SYSCALL_DEFINE5()
12430 if (output_event) { in SYSCALL_DEFINE5()
12431 err = perf_event_set_output(event, output_event); in SYSCALL_DEFINE5()