Lines Matching defs:config

36 #include "config.h"
1022 struct perf_event_attr *attr, u64 *config)
1025 if (config)
1026 *config = attr->config;
1048 u64 config;
1054 if (intel_pt_get_config(pt, &evsel->core.attr, &config) &&
1055 (config & pt->noretcomp_bit))
1064 u64 config;
1067 if (intel_pt_get_config(pt, &evsel->core.attr, &config) &&
1068 (config & INTEL_PT_CFG_PASS_THRU) &&
1069 !(config & INTEL_PT_CFG_BRANCH_EN))
1078 u64 config;
1081 if (intel_pt_get_config(pt, &evsel->core.attr, &config) &&
1082 config & INTEL_PT_CFG_TNT_DIS)
1092 u64 config;
1097 for (shift = 0, config = pt->mtc_freq_bits; !(config & 1); shift++)
1098 config >>= 1;
1101 if (intel_pt_get_config(pt, &evsel->core.attr, &config))
1102 return (config & pt->mtc_freq_bits) >> shift;
1111 u64 config;
1119 if (intel_pt_get_config(pt, &evsel->core.attr, &config)) {
1120 if (config & pt->tsc_bit)
1145 u64 config;
1151 if (intel_pt_get_config(pt, &evsel->core.attr, &config)) {
1152 if (config & pt->tsc_bit)
1164 u64 config;
1167 if (intel_pt_get_config(pt, &evsel->core.attr, &config) &&
1168 (config & pt->mtc_bit))
1189 u64 config;
1192 if (intel_pt_get_config(pt, &evsel->core.attr, &config))
1193 return config;
3765 attr.config = PERF_COUNT_HW_BRANCH_INSTRUCTIONS;
3791 attr.config = PERF_COUNT_HW_INSTRUCTIONS;
3807 attr.config = PERF_COUNT_HW_CPU_CYCLES;
3826 attr.config = PERF_COUNT_HW_INSTRUCTIONS;
3841 attr.config = PERF_SYNTH_INTEL_PTWRITE;
3856 attr.config = PERF_SYNTH_INTEL_CBR;
3864 attr.config = PERF_SYNTH_INTEL_PSB;
3873 if (pt->synth_opts.pwr_events && (evsel->core.attr.config & INTEL_PT_CFG_PWR_EVT_EN)) {
3874 attr.config = PERF_SYNTH_INTEL_MWAIT;
3882 attr.config = PERF_SYNTH_INTEL_PWRE;
3890 attr.config = PERF_SYNTH_INTEL_EXSTOP;
3898 attr.config = PERF_SYNTH_INTEL_PWRX;
3907 if (pt->synth_opts.intr_events && (evsel->core.attr.config & INTEL_PT_CFG_EVT_EN)) {
3908 attr.config = PERF_SYNTH_INTEL_EVT;
3919 attr.config = PERF_SYNTH_INTEL_IFLAG_CHG;