Lines Matching refs:timestamp
177 u64 timestamp; member
1304 static void intel_pt_first_timestamp(struct intel_pt *pt, u64 timestamp) in intel_pt_first_timestamp() argument
1308 pt->first_timestamp = timestamp; in intel_pt_first_timestamp()
1315 intel_pt_set_first_timestamp(ptq->decoder, timestamp); in intel_pt_first_timestamp()
1454 if (state->timestamp) in intel_pt_setup_queue()
1458 ptq->timestamp = state->timestamp; in intel_pt_setup_queue()
1460 queue_nr, ptq->timestamp); in intel_pt_setup_queue()
1464 ptq->timestamp < ptq->sel_timestamp) in intel_pt_setup_queue()
1467 ret = auxtrace_heap__add(&pt->heap, queue_nr, ptq->timestamp); in intel_pt_setup_queue()
1528 sample->time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_prep_b_sample()
2056 u64 timestamp = 0; in intel_pt_synth_pebs_sample() local
2059 timestamp = items->timestamp; in intel_pt_synth_pebs_sample()
2061 timestamp = ptq->timestamp; in intel_pt_synth_pebs_sample()
2062 if (timestamp) in intel_pt_synth_pebs_sample()
2063 sample.time = tsc_to_perf_time(timestamp, &pt->tc); in intel_pt_synth_pebs_sample()
2153 pid_t pid, pid_t tid, u64 ip, u64 timestamp) in intel_pt_synth_error() argument
2171 code, cpu, pid, tid, ip, msg, timestamp); in intel_pt_synth_error()
2185 u64 tm = ptq->timestamp; in intel_ptq_synth_error()
2471 if (ptq->timestamp >= ptq->sel_timestamp) { in intel_pt_time_filter()
2495 } else if (ptq->timestamp > ptq->sel_timestamp) { in intel_pt_time_filter()
2512 static int intel_pt_run_decoder(struct intel_pt_queue *ptq, u64 *timestamp) in intel_pt_run_decoder() argument
2550 ptq->timestamp = state->est_timestamp; in intel_pt_run_decoder()
2568 state->timestamp, state->est_timestamp); in intel_pt_run_decoder()
2569 ptq->timestamp = state->est_timestamp; in intel_pt_run_decoder()
2576 state->timestamp, state->est_timestamp); in intel_pt_run_decoder()
2577 ptq->timestamp = state->est_timestamp; in intel_pt_run_decoder()
2578 } else if (state->timestamp > ptq->timestamp) { in intel_pt_run_decoder()
2579 ptq->timestamp = state->timestamp; in intel_pt_run_decoder()
2588 if (!pt->timeless_decoding && ptq->timestamp >= *timestamp) { in intel_pt_run_decoder()
2589 *timestamp = ptq->timestamp; in intel_pt_run_decoder()
2605 static int intel_pt_process_queues(struct intel_pt *pt, u64 timestamp) in intel_pt_process_queues() argument
2618 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
2627 timestamp); in intel_pt_process_queues()
2633 if (ts > timestamp) in intel_pt_process_queues()
2634 ts = timestamp; in intel_pt_process_queues()
2636 ts = timestamp; in intel_pt_process_queues()
2765 u64 timestamp) in intel_pt_sync_switch() argument
2787 ptq->timestamp = perf_time_to_tsc(timestamp, in intel_pt_sync_switch()
2790 ptq->timestamp); in intel_pt_sync_switch()
2991 u64 timestamp; in intel_pt_process_event() local
3003 timestamp = perf_time_to_tsc(sample->time, &pt->tc); in intel_pt_process_event()
3005 timestamp = 0; in intel_pt_process_event()
3007 if (timestamp || pt->timeless_decoding) { in intel_pt_process_event()
3023 } else if (timestamp) { in intel_pt_process_event()
3025 intel_pt_first_timestamp(pt, timestamp); in intel_pt_process_event()
3026 err = intel_pt_process_queues(pt, timestamp); in intel_pt_process_event()
3059 event->header.type, sample->cpu, sample->time, timestamp); in intel_pt_process_event()
3175 u64 timestamp; in intel_pt_queue_data() local
3183 timestamp = perf_time_to_tsc(sample->time, &pt->tc); in intel_pt_queue_data()
3185 timestamp = 0; in intel_pt_queue_data()
3188 data_offset, timestamp); in intel_pt_queue_data()