Lines Matching refs:record
234 struct arm_spe_record *record = &speq->decoder->record; in arm_spe_prep_sample() local
237 sample->time = tsc_to_perf_time(record->timestamp, &spe->tc); in arm_spe_prep_sample()
239 sample->ip = record->from_ip; in arm_spe_prep_sample()
270 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_mem_sample() local
278 sample.addr = record->virt_addr; in arm_spe__synth_mem_sample()
279 sample.phys_addr = record->phys_addr; in arm_spe__synth_mem_sample()
289 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_branch_sample() local
297 sample.addr = record->to_ip; in arm_spe__synth_branch_sample()
314 static u64 arm_spe__synth_data_source(const struct arm_spe_record *record) in arm_spe__synth_data_source() argument
318 if (record->op == ARM_SPE_LD) in arm_spe__synth_data_source()
323 if (record->type & (ARM_SPE_LLC_ACCESS | ARM_SPE_LLC_MISS)) { in arm_spe__synth_data_source()
326 if (record->type & ARM_SPE_LLC_MISS) in arm_spe__synth_data_source()
330 } else if (record->type & (ARM_SPE_L1D_ACCESS | ARM_SPE_L1D_MISS)) { in arm_spe__synth_data_source()
333 if (record->type & ARM_SPE_L1D_MISS) in arm_spe__synth_data_source()
339 if (record->type & ARM_SPE_REMOTE_ACCESS) in arm_spe__synth_data_source()
342 if (record->type & (ARM_SPE_TLB_ACCESS | ARM_SPE_TLB_MISS)) { in arm_spe__synth_data_source()
345 if (record->type & ARM_SPE_TLB_MISS) in arm_spe__synth_data_source()
356 const struct arm_spe_record *record = &speq->decoder->record; in arm_spe_sample() local
361 data_src = arm_spe__synth_data_source(record); in arm_spe_sample()
364 if (record->type & ARM_SPE_L1D_MISS) { in arm_spe_sample()
371 if (record->type & ARM_SPE_L1D_ACCESS) { in arm_spe_sample()
380 if (record->type & ARM_SPE_LLC_MISS) { in arm_spe_sample()
387 if (record->type & ARM_SPE_LLC_ACCESS) { in arm_spe_sample()
396 if (record->type & ARM_SPE_TLB_MISS) { in arm_spe_sample()
403 if (record->type & ARM_SPE_TLB_ACCESS) { in arm_spe_sample()
411 if (spe->sample_branch && (record->type & ARM_SPE_BRANCH_MISS)) { in arm_spe_sample()
418 (record->type & ARM_SPE_REMOTE_ACCESS)) { in arm_spe_sample()
425 if (spe->sample_memory && arm_spe__is_memory_event(record->type)) { in arm_spe_sample()
437 struct arm_spe_record *record; in arm_spe_run_decoder() local
480 record = &speq->decoder->record; in arm_spe_run_decoder()
483 if (record->timestamp > speq->timestamp) in arm_spe_run_decoder()
484 speq->timestamp = record->timestamp; in arm_spe_run_decoder()
505 struct arm_spe_record *record; in arm_spe__setup_queue() local
535 record = &speq->decoder->record; in arm_spe__setup_queue()
537 speq->timestamp = record->timestamp; in arm_spe__setup_queue()