Lines Matching refs:auxtrace_info
3308 static bool intel_pt_has(struct perf_record_auxtrace_info *auxtrace_info, int pos)
3310 return auxtrace_info->header.size >=
3317 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info;
3324 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) +
3346 pt->auxtrace_type = auxtrace_info->type;
3347 pt->pmu_type = auxtrace_info->priv[INTEL_PT_PMU_TYPE];
3348 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT];
3349 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT];
3350 pt->tc.time_zero = auxtrace_info->priv[INTEL_PT_TIME_ZERO];
3351 pt->cap_user_time_zero = auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO];
3352 pt->tsc_bit = auxtrace_info->priv[INTEL_PT_TSC_BIT];
3353 pt->noretcomp_bit = auxtrace_info->priv[INTEL_PT_NORETCOMP_BIT];
3354 pt->have_sched_switch = auxtrace_info->priv[INTEL_PT_HAVE_SCHED_SWITCH];
3355 pt->snapshot_mode = auxtrace_info->priv[INTEL_PT_SNAPSHOT_MODE];
3356 pt->per_cpu_mmaps = auxtrace_info->priv[INTEL_PT_PER_CPU_MMAPS];
3357 intel_pt_print_info(&auxtrace_info->priv[0], INTEL_PT_PMU_TYPE,
3360 if (intel_pt_has(auxtrace_info, INTEL_PT_CYC_BIT)) {
3361 pt->mtc_bit = auxtrace_info->priv[INTEL_PT_MTC_BIT];
3362 pt->mtc_freq_bits = auxtrace_info->priv[INTEL_PT_MTC_FREQ_BITS];
3363 pt->tsc_ctc_ratio_n = auxtrace_info->priv[INTEL_PT_TSC_CTC_N];
3364 pt->tsc_ctc_ratio_d = auxtrace_info->priv[INTEL_PT_TSC_CTC_D];
3365 pt->cyc_bit = auxtrace_info->priv[INTEL_PT_CYC_BIT];
3366 intel_pt_print_info(&auxtrace_info->priv[0], INTEL_PT_MTC_BIT,
3370 if (intel_pt_has(auxtrace_info, INTEL_PT_MAX_NONTURBO_RATIO)) {
3372 auxtrace_info->priv[INTEL_PT_MAX_NONTURBO_RATIO];
3373 intel_pt_print_info(&auxtrace_info->priv[0],
3378 info = &auxtrace_info->priv[INTEL_PT_FILTER_STR_LEN] + 1;
3379 info_end = (void *)info + auxtrace_info->header.size;
3381 if (intel_pt_has(auxtrace_info, INTEL_PT_FILTER_STR_LEN)) {
3384 len = auxtrace_info->priv[INTEL_PT_FILTER_STR_LEN];
3385 intel_pt_print_info(&auxtrace_info->priv[0],