• Home
  • Raw
  • Download

Lines Matching refs:qe

897 		ret = ordered_events__queue(top->qe.in, event, last_timestamp, 0);  in perf_top__mmap_read_idx()
903 if (top->qe.rotate) { in perf_top__mmap_read_idx()
904 pthread_mutex_lock(&top->qe.mutex); in perf_top__mmap_read_idx()
905 top->qe.rotate = false; in perf_top__mmap_read_idx()
906 pthread_cond_signal(&top->qe.cond); in perf_top__mmap_read_idx()
907 pthread_mutex_unlock(&top->qe.mutex); in perf_top__mmap_read_idx()
1087 struct ordered_events *in = top->qe.in; in rotate_queues()
1089 if (top->qe.in == &top->qe.data[1]) in rotate_queues()
1090 top->qe.in = &top->qe.data[0]; in rotate_queues()
1092 top->qe.in = &top->qe.data[1]; in rotate_queues()
1102 struct ordered_events *out, *in = top->qe.in; in process_thread()
1111 pthread_mutex_lock(&top->qe.mutex); in process_thread()
1112 top->qe.rotate = true; in process_thread()
1113 pthread_cond_wait(&top->qe.cond, &top->qe.mutex); in process_thread()
1114 pthread_mutex_unlock(&top->qe.mutex); in process_thread()
1138 static int deliver_event(struct ordered_events *qe, in deliver_event() argument
1141 struct perf_top *top = qe->data; in deliver_event()
1223 ordered_events__init(&top->qe.data[0], deliver_event, top); in init_process_thread()
1224 ordered_events__init(&top->qe.data[1], deliver_event, top); in init_process_thread()
1225 ordered_events__set_copy_on_queue(&top->qe.data[0], true); in init_process_thread()
1226 ordered_events__set_copy_on_queue(&top->qe.data[1], true); in init_process_thread()
1227 top->qe.in = &top->qe.data[0]; in init_process_thread()
1228 pthread_mutex_init(&top->qe.mutex, NULL); in init_process_thread()
1229 pthread_cond_init(&top->qe.cond, NULL); in init_process_thread()
1360 pthread_cond_signal(&top->qe.cond); in __cmd_top()