Lines Matching refs:pebs_data_cfg
946 u64 pebs_data_cfg = cpuc->pebs_data_cfg; in adaptive_pebs_record_size_update() local
949 if (pebs_data_cfg & PEBS_DATACFG_MEMINFO) in adaptive_pebs_record_size_update()
951 if (pebs_data_cfg & PEBS_DATACFG_GP) in adaptive_pebs_record_size_update()
953 if (pebs_data_cfg & PEBS_DATACFG_XMMS) in adaptive_pebs_record_size_update()
955 if (pebs_data_cfg & PEBS_DATACFG_LBRS) in adaptive_pebs_record_size_update()
969 u64 pebs_data_cfg = 0; in pebs_update_adaptive_cfg() local
974 return pebs_data_cfg; in pebs_update_adaptive_cfg()
977 pebs_data_cfg |= PEBS_DATACFG_MEMINFO; in pebs_update_adaptive_cfg()
993 pebs_data_cfg |= PEBS_DATACFG_GP; in pebs_update_adaptive_cfg()
997 pebs_data_cfg |= PEBS_DATACFG_XMMS; in pebs_update_adaptive_cfg()
1004 pebs_data_cfg |= PEBS_DATACFG_LBRS | in pebs_update_adaptive_cfg()
1008 return pebs_data_cfg; in pebs_update_adaptive_cfg()
1037 u64 pebs_data_cfg; in pebs_update_state() local
1041 cpuc->pebs_data_cfg = 0; in pebs_update_state()
1045 pebs_data_cfg = pebs_update_adaptive_cfg(event); in pebs_update_state()
1048 if (pebs_data_cfg & ~cpuc->pebs_data_cfg) { in pebs_update_state()
1049 cpuc->pebs_data_cfg |= pebs_data_cfg; in pebs_update_state()
1119 if (cpuc->pebs_data_cfg != cpuc->active_pebs_data_cfg) { in intel_pmu_pebs_enable()
1120 wrmsrl(MSR_PEBS_DATA_CFG, cpuc->pebs_data_cfg); in intel_pmu_pebs_enable()
1121 cpuc->active_pebs_data_cfg = cpuc->pebs_data_cfg; in intel_pmu_pebs_enable()