Lines Matching refs:auxtrace_info
3067 static bool intel_pt_has(struct perf_record_auxtrace_info *auxtrace_info, int pos) in intel_pt_has() argument
3069 return auxtrace_info->header.size >= in intel_pt_has()
3076 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in intel_pt_process_auxtrace_info() local
3083 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in intel_pt_process_auxtrace_info()
3105 pt->auxtrace_type = auxtrace_info->type; in intel_pt_process_auxtrace_info()
3106 pt->pmu_type = auxtrace_info->priv[INTEL_PT_PMU_TYPE]; in intel_pt_process_auxtrace_info()
3107 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
3108 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
3109 pt->tc.time_zero = auxtrace_info->priv[INTEL_PT_TIME_ZERO]; in intel_pt_process_auxtrace_info()
3110 pt->cap_user_time_zero = auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO]; in intel_pt_process_auxtrace_info()
3111 pt->tsc_bit = auxtrace_info->priv[INTEL_PT_TSC_BIT]; in intel_pt_process_auxtrace_info()
3112 pt->noretcomp_bit = auxtrace_info->priv[INTEL_PT_NORETCOMP_BIT]; in intel_pt_process_auxtrace_info()
3113 pt->have_sched_switch = auxtrace_info->priv[INTEL_PT_HAVE_SCHED_SWITCH]; in intel_pt_process_auxtrace_info()
3114 pt->snapshot_mode = auxtrace_info->priv[INTEL_PT_SNAPSHOT_MODE]; in intel_pt_process_auxtrace_info()
3115 pt->per_cpu_mmaps = auxtrace_info->priv[INTEL_PT_PER_CPU_MMAPS]; in intel_pt_process_auxtrace_info()
3116 intel_pt_print_info(&auxtrace_info->priv[0], INTEL_PT_PMU_TYPE, in intel_pt_process_auxtrace_info()
3119 if (intel_pt_has(auxtrace_info, INTEL_PT_CYC_BIT)) { in intel_pt_process_auxtrace_info()
3120 pt->mtc_bit = auxtrace_info->priv[INTEL_PT_MTC_BIT]; in intel_pt_process_auxtrace_info()
3121 pt->mtc_freq_bits = auxtrace_info->priv[INTEL_PT_MTC_FREQ_BITS]; in intel_pt_process_auxtrace_info()
3122 pt->tsc_ctc_ratio_n = auxtrace_info->priv[INTEL_PT_TSC_CTC_N]; in intel_pt_process_auxtrace_info()
3123 pt->tsc_ctc_ratio_d = auxtrace_info->priv[INTEL_PT_TSC_CTC_D]; in intel_pt_process_auxtrace_info()
3124 pt->cyc_bit = auxtrace_info->priv[INTEL_PT_CYC_BIT]; in intel_pt_process_auxtrace_info()
3125 intel_pt_print_info(&auxtrace_info->priv[0], INTEL_PT_MTC_BIT, in intel_pt_process_auxtrace_info()
3129 if (intel_pt_has(auxtrace_info, INTEL_PT_MAX_NONTURBO_RATIO)) { in intel_pt_process_auxtrace_info()
3131 auxtrace_info->priv[INTEL_PT_MAX_NONTURBO_RATIO]; in intel_pt_process_auxtrace_info()
3132 intel_pt_print_info(&auxtrace_info->priv[0], in intel_pt_process_auxtrace_info()
3137 info = &auxtrace_info->priv[INTEL_PT_FILTER_STR_LEN] + 1; in intel_pt_process_auxtrace_info()
3138 info_end = (void *)info + auxtrace_info->header.size; in intel_pt_process_auxtrace_info()
3140 if (intel_pt_has(auxtrace_info, INTEL_PT_FILTER_STR_LEN)) { in intel_pt_process_auxtrace_info()
3143 len = auxtrace_info->priv[INTEL_PT_FILTER_STR_LEN]; in intel_pt_process_auxtrace_info()
3144 intel_pt_print_info(&auxtrace_info->priv[0], in intel_pt_process_auxtrace_info()