/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 56 mqd_t queue = -1; variable 87 if (queue != -1) in shutdown() 88 if (mq_close(queue)) in shutdown() 202 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1) in test_queue() 204 if (mq_getattr(queue, result)) in test_queue() 206 if (mq_close(queue)) in test_queue() 208 queue = -1; in test_queue() 224 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1) in test_queue_fail() 226 if (mq_getattr(queue, result)) in test_queue_fail() 228 if (mq_close(queue)) in test_queue_fail() [all …]
|
D | mq_perf_tests.c | 97 mqd_t queue = -1; variable 187 if (queue != -1) in shutdown() 188 if (mq_close(queue)) in shutdown() 292 queue = mq_open(queue_path, flags, perms, attr); in open_queue() 293 if (queue == -1) in open_queue() 295 if (mq_getattr(queue, &result)) in open_queue() 329 while (mq_send(queue, buff, sizeof(buff), 0) == 0) in cont_thread() 331 mq_receive(queue, buff, sizeof(buff), &priority); in cont_thread() 336 while (mq_receive(queue, buff, MSG_SIZE, &prio_in) == MSG_SIZE) 340 if (mq_send(queue, buff, MSG_SIZE, prio_out)) \ [all …]
|
/tools/perf/util/ |
D | intel-bts.c | 173 struct auxtrace_queue *queue, in intel_bts_setup_queue() argument 176 struct intel_bts_queue *btsq = queue->priv; in intel_bts_setup_queue() 178 if (list_empty(&queue->head)) in intel_bts_setup_queue() 185 queue->priv = btsq; in intel_bts_setup_queue() 187 if (queue->cpu != -1) in intel_bts_setup_queue() 188 btsq->cpu = queue->cpu; in intel_bts_setup_queue() 189 btsq->tid = queue->tid; in intel_bts_setup_queue() 198 btsq->buffer = auxtrace_buffer__next(queue, NULL); in intel_bts_setup_queue() 254 static int intel_bts_do_fix_overlap(struct auxtrace_queue *queue, in intel_bts_do_fix_overlap() argument 260 if (b->list.prev == &queue->head) in intel_bts_do_fix_overlap() [all …]
|
D | intel-pt.c | 213 struct auxtrace_queue *queue, in intel_pt_use_buffer_pid_tid() argument 216 if (queue->cpu == -1 && buffer->cpu != -1) in intel_pt_use_buffer_pid_tid() 243 struct auxtrace_queue *queue; in intel_pt_get_trace() local 250 queue = &ptq->pt->queues.queue_array[ptq->queue_nr]; in intel_pt_get_trace() 252 buffer = auxtrace_buffer__next(queue, buffer); in intel_pt_get_trace() 303 intel_pt_use_buffer_pid_tid(ptq, queue, buffer); in intel_pt_get_trace() 866 struct auxtrace_queue *queue) in intel_pt_set_pid_tid_cpu() argument 868 struct intel_pt_queue *ptq = queue->priv; in intel_pt_set_pid_tid_cpu() 870 if (queue->tid == -1 || pt->have_sched_switch) { in intel_pt_set_pid_tid_cpu() 880 if (queue->cpu == -1) in intel_pt_set_pid_tid_cpu() [all …]
|
D | auxtrace.c | 233 struct auxtrace_queue *queue; in auxtrace_queues__add_buffer() local 242 queue = &queues->queue_array[idx]; in auxtrace_queues__add_buffer() 244 if (!queue->set) { in auxtrace_queues__add_buffer() 245 queue->set = true; in auxtrace_queues__add_buffer() 246 queue->tid = buffer->tid; in auxtrace_queues__add_buffer() 247 queue->cpu = buffer->cpu; in auxtrace_queues__add_buffer() 248 } else if (buffer->cpu != queue->cpu || buffer->tid != queue->tid) { in auxtrace_queues__add_buffer() 250 queue->cpu, queue->tid, buffer->cpu, buffer->tid); in auxtrace_queues__add_buffer() 256 list_add_tail(&buffer->list, &queue->head); in auxtrace_queues__add_buffer() 767 struct auxtrace_buffer *auxtrace_buffer__next(struct auxtrace_queue *queue, in auxtrace_buffer__next() argument [all …]
|
D | annotate.c | 950 int max_lines, struct disasm_line *queue) in disasm_line__print() argument 999 if (queue != NULL) { in disasm_line__print() 1000 list_for_each_entry_from(queue, ¬es->src->source, node) { in disasm_line__print() 1001 if (queue == dl) in disasm_line__print() 1003 disasm_line__print(queue, sym, start, evsel, len, in disasm_line__print() 1055 if (queue) in disasm_line__print() 1665 struct disasm_line *pos, *queue = NULL; in symbol__annotate_printf() local 1697 if (context && queue == NULL) { in symbol__annotate_printf() 1698 queue = pos; in symbol__annotate_printf() 1704 queue)) { in symbol__annotate_printf() [all …]
|
D | auxtrace.h | 445 struct auxtrace_buffer *auxtrace_buffer__next(struct auxtrace_queue *queue,
|
/tools/perf/Documentation/ |
D | perfconfig.example | 36 queue-size = 0
|
D | perf-config.txt | 117 queue-size = 0 404 report.queue-size:: 406 event queue for ordering events. Default is 0, meaning no limit.
|