Lines Matching refs:pebs

517 	if (!x86_pmu.pebs)  in alloc_pebs_buffer()
552 if (!x86_pmu.pebs) in release_pebs_buffer()
627 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
656 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
662 if (!x86_pmu.pebs) in reserve_ds_buffers()
698 if (x86_pmu.pebs && !pebs_err) in reserve_ds_buffers()
1621 struct pebs_record_skl *pebs = __pebs; in setup_pebs_fixed_sample_data() local
1625 if (pebs == NULL) in setup_pebs_fixed_sample_data()
1639 data->weight.full = pebs->lat; in setup_pebs_fixed_sample_data()
1647 data->data_src.val = get_data_src(event, pebs->dse); in setup_pebs_fixed_sample_data()
1674 regs->flags = pebs->flags & ~PERF_EFLAGS_EXACT; in setup_pebs_fixed_sample_data()
1677 regs->ax = pebs->ax; in setup_pebs_fixed_sample_data()
1678 regs->bx = pebs->bx; in setup_pebs_fixed_sample_data()
1679 regs->cx = pebs->cx; in setup_pebs_fixed_sample_data()
1680 regs->dx = pebs->dx; in setup_pebs_fixed_sample_data()
1681 regs->si = pebs->si; in setup_pebs_fixed_sample_data()
1682 regs->di = pebs->di; in setup_pebs_fixed_sample_data()
1684 regs->bp = pebs->bp; in setup_pebs_fixed_sample_data()
1685 regs->sp = pebs->sp; in setup_pebs_fixed_sample_data()
1688 regs->r8 = pebs->r8; in setup_pebs_fixed_sample_data()
1689 regs->r9 = pebs->r9; in setup_pebs_fixed_sample_data()
1690 regs->r10 = pebs->r10; in setup_pebs_fixed_sample_data()
1691 regs->r11 = pebs->r11; in setup_pebs_fixed_sample_data()
1692 regs->r12 = pebs->r12; in setup_pebs_fixed_sample_data()
1693 regs->r13 = pebs->r13; in setup_pebs_fixed_sample_data()
1694 regs->r14 = pebs->r14; in setup_pebs_fixed_sample_data()
1695 regs->r15 = pebs->r15; in setup_pebs_fixed_sample_data()
1706 set_linear_ip(regs, pebs->real_ip); in setup_pebs_fixed_sample_data()
1710 set_linear_ip(regs, pebs->ip); in setup_pebs_fixed_sample_data()
1725 set_linear_ip(regs, pebs->ip); in setup_pebs_fixed_sample_data()
1731 data->addr = pebs->dla; in setup_pebs_fixed_sample_data()
1738 data->weight.full = intel_get_tsx_weight(pebs->tsx_tuning); in setup_pebs_fixed_sample_data()
1742 data->txn = intel_get_tsx_transaction(pebs->tsx_tuning, in setup_pebs_fixed_sample_data()
1743 pebs->ax); in setup_pebs_fixed_sample_data()
1755 setup_pebs_time(event, data, pebs->tsc); in setup_pebs_fixed_sample_data()
2334 x86_pmu.pebs = boot_cpu_has(X86_FEATURE_PEBS); in intel_ds_init()
2339 if (x86_pmu.pebs) { in intel_ds_init()
2417 x86_pmu.pebs = 0; in intel_ds_init()
2426 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()