Lines Matching refs:items
2176 const struct intel_pt_blk_items *items, in intel_pt_add_gp_regs() argument
2179 const u64 *gp_regs = items->val[INTEL_PT_GP_REGS_POS]; in intel_pt_add_gp_regs()
2180 u32 mask = items->mask[INTEL_PT_GP_REGS_POS]; in intel_pt_add_gp_regs()
2209 const struct intel_pt_blk_items *items, in intel_pt_add_xmm() argument
2212 u32 mask = items->has_xmm & (regs_mask >> PERF_REG_X86_XMM0); in intel_pt_add_xmm()
2213 const u64 *xmm = items->xmm; in intel_pt_add_xmm()
2253 const struct intel_pt_blk_items *items) in intel_pt_add_lbrs() argument
2263 u32 mask = items->mask[i]; in intel_pt_add_lbrs()
2264 const u64 *from = items->val[i]; in intel_pt_add_lbrs()
2418 const struct intel_pt_blk_items *items = &ptq->state->items; in intel_pt_do_synth_pebs_sample() local
2440 if (items->has_ip) in intel_pt_do_synth_pebs_sample()
2441 sample.ip = items->ip; in intel_pt_do_synth_pebs_sample()
2442 else if (items->has_rip) in intel_pt_do_synth_pebs_sample()
2443 sample.ip = items->rip; in intel_pt_do_synth_pebs_sample()
2456 if (items->has_timestamp) in intel_pt_do_synth_pebs_sample()
2457 timestamp = items->timestamp; in intel_pt_do_synth_pebs_sample()
2473 (items->mask[INTEL_PT_GP_REGS_POS] || in intel_pt_do_synth_pebs_sample()
2474 items->mask[INTEL_PT_XMM_POS])) { in intel_pt_do_synth_pebs_sample()
2479 intr_regs->abi = items->is_32_bit ? in intel_pt_do_synth_pebs_sample()
2484 pos = intel_pt_add_gp_regs(intr_regs, regs, items, regs_mask); in intel_pt_do_synth_pebs_sample()
2486 intel_pt_add_xmm(intr_regs, pos, items, regs_mask); in intel_pt_do_synth_pebs_sample()
2490 if (items->mask[INTEL_PT_LBR_0_POS] || in intel_pt_do_synth_pebs_sample()
2491 items->mask[INTEL_PT_LBR_1_POS] || in intel_pt_do_synth_pebs_sample()
2492 items->mask[INTEL_PT_LBR_2_POS]) { in intel_pt_do_synth_pebs_sample()
2493 intel_pt_add_lbrs(ptq->last_branch, items); in intel_pt_do_synth_pebs_sample()
2504 if (sample_type & PERF_SAMPLE_ADDR && items->has_mem_access_address) in intel_pt_do_synth_pebs_sample()
2505 sample.addr = items->mem_access_address; in intel_pt_do_synth_pebs_sample()
2512 if (items->has_mem_access_latency) { in intel_pt_do_synth_pebs_sample()
2513 u64 weight = items->mem_access_latency >> 32; in intel_pt_do_synth_pebs_sample()
2527 sample.ins_lat = items->mem_access_latency & 0xffff; in intel_pt_do_synth_pebs_sample()
2529 sample.weight = items->mem_access_latency; in intel_pt_do_synth_pebs_sample()
2531 if (!sample.weight && items->has_tsx_aux_info) { in intel_pt_do_synth_pebs_sample()
2533 sample.weight = (u32)items->tsx_aux_info; in intel_pt_do_synth_pebs_sample()
2538 if (items->has_mem_aux_info && data_src_fmt) { in intel_pt_do_synth_pebs_sample()
2543 sample.data_src = intel_pt_get_data_src(items->mem_aux_info, data_src_fmt); in intel_pt_do_synth_pebs_sample()
2549 if (sample_type & PERF_SAMPLE_TRANSACTION && items->has_tsx_aux_info) { in intel_pt_do_synth_pebs_sample()
2550 u64 ax = items->has_rax ? items->rax : 0; in intel_pt_do_synth_pebs_sample()
2552 u64 txn = (u8)(items->tsx_aux_info >> 32); in intel_pt_do_synth_pebs_sample()
2577 const struct intel_pt_blk_items *items = &ptq->state->items; in intel_pt_synth_pebs_sample() local
2583 if (!items->has_applicable_counters || !items->applicable_counters) { in intel_pt_synth_pebs_sample()
2589 for_each_set_bit(hw_id, (unsigned long *)&items->applicable_counters, INTEL_PT_MAX_PEBS) { in intel_pt_synth_pebs_sample()