Lines Matching defs:queue
123 * queue's which has a matching sink ID.
144 * encode the etm queue number as the upper 16 bit and the channel as
298 * If the queue is unformatted then only save one mapping in the
299 * queue associated with that CPU so only one decoder is made.
308 * queue.
538 * that were accumulated in the traceID queue. Since there can
540 * what traceID queue needs servicing.
568 static void cs_etm__clear_packet_queue(struct cs_etm_packet_queue *queue)
572 queue->head = 0;
573 queue->tail = 0;
574 queue->packet_count = 0;
576 queue->packet_buffer[i].isa = CS_ETM_ISA_UNKNOWN;
577 queue->packet_buffer[i].start_addr = CS_ETM_INVAL_ADDR;
578 queue->packet_buffer[i].end_addr = CS_ETM_INVAL_ADDR;
579 queue->packet_buffer[i].instr_count = 0;
580 queue->packet_buffer[i].last_instr_taken_branch = false;
581 queue->packet_buffer[i].last_instr_size = 0;
582 queue->packet_buffer[i].last_instr_type = 0;
583 queue->packet_buffer[i].last_instr_subtype = 0;
584 queue->packet_buffer[i].last_instr_cond = 0;
585 queue->packet_buffer[i].flags = 0;
586 queue->packet_buffer[i].exception_number = UINT32_MAX;
587 queue->packet_buffer[i].trace_chan_id = UINT8_MAX;
588 queue->packet_buffer[i].cpu = INT_MIN;
611 struct auxtrace_queue *queue;
616 queue = &etmq->etm->queues.queue_array[etmq->queue_nr];
620 queue->tid);
675 * in the queue list.
1191 struct auxtrace_queue *queue,
1194 struct cs_etm_queue *etmq = queue->priv;
1204 queue->priv = etmq;
1207 queue->cpu = queue_nr; /* Placeholder, may be reset to -1 in per-thread mode */
1242 * encountering a CS timestamp, a full packet queue or the end of
1271 * instructions conveyed by the range packets of this traceID queue
1277 * queue and will be processed in cs_etm__process_timestamped_queues().
1439 struct auxtrace_queue *queue;
1441 queue = &etmq->etm->queues.queue_array[etmq->queue_nr];
1443 aux_buffer = auxtrace_buffer__next(queue, aux_buffer);
2014 * cs_etm__get_data_block: Fetch a block from the auxtrace_buffer queue
2397 * Packets are decoded and added to the decoder's packet queue
2401 * decoder buffer queue.
2514 /* Go through each buffer in the queue and decode them one by one */
2549 /* Go through each buffer in the queue and decode them one by one */
2563 * single traceID queue because each TID has a separate
2595 struct auxtrace_queue *queue = &etm->queues.queue_array[i];
2596 struct cs_etm_queue *etmq = queue->priv;
2624 struct auxtrace_queue *queue;
2629 * Pre-populate the heap with one entry from each queue so that we can
2650 queue = &etm->queues.queue_array[queue_nr];
2651 etmq = queue->priv;
2662 * No traceID queue has been allocated for this traceID,
2672 * the etmq's traceID queue, so process them.
2721 * this queue/traceID.
3012 * Normally, whole auxtrace buffers would be added to the queue. But we
3096 * based on the sizes of the aux event, and queue that fragment.
3291 * Each queue can only contain data from one CPU when unformatted, so only one decoder is