Home
last modified time | relevance | path

Searched refs:auxtrace_info (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/tools/perf/util/
Darm-spe.c194 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in arm_spe_process_auxtrace_info() local
199 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in arm_spe_process_auxtrace_info()
213 spe->auxtrace_type = auxtrace_info->type; in arm_spe_process_auxtrace_info()
214 spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE]; in arm_spe_process_auxtrace_info()
223 arm_spe_print_info(&auxtrace_info->priv[0]); in arm_spe_process_auxtrace_info()
Dintel-bts.c851 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in intel_bts_process_auxtrace_info() local
856 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in intel_bts_process_auxtrace_info()
870 bts->auxtrace_type = auxtrace_info->type; in intel_bts_process_auxtrace_info()
871 bts->pmu_type = auxtrace_info->priv[INTEL_BTS_PMU_TYPE]; in intel_bts_process_auxtrace_info()
872 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
873 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
874 bts->tc.time_zero = auxtrace_info->priv[INTEL_BTS_TIME_ZERO]; in intel_bts_process_auxtrace_info()
876 auxtrace_info->priv[INTEL_BTS_CAP_USER_TIME_ZERO]; in intel_bts_process_auxtrace_info()
877 bts->snapshot_mode = auxtrace_info->priv[INTEL_BTS_SNAPSHOT_MODE]; in intel_bts_process_auxtrace_info()
888 intel_bts_print_info(&auxtrace_info->priv[0], INTEL_BTS_PMU_TYPE, in intel_bts_process_auxtrace_info()
Dintel-pt.c3067 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()
[all …]
Dtool.h67 auxtrace_info, member
Ds390-cpumsf.c1111 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in s390_cpumsf_process_auxtrace_info() local
1115 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info)) in s390_cpumsf_process_auxtrace_info()
1136 sf->auxtrace_type = auxtrace_info->type; in s390_cpumsf_process_auxtrace_info()
Dauxtrace.h325 struct perf_record_auxtrace_info *auxtrace_info,
507 struct perf_record_auxtrace_info *auxtrace_info,
Dauxtrace.c524 struct perf_record_auxtrace_info *auxtrace_info, in auxtrace_record__info_fill() argument
528 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill()
903 ev->auxtrace_info.header.type = PERF_RECORD_AUXTRACE_INFO; in perf_event__synthesize_auxtrace_info()
904 ev->auxtrace_info.header.size = sizeof(struct perf_record_auxtrace_info) + in perf_event__synthesize_auxtrace_info()
906 err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, in perf_event__synthesize_auxtrace_info()
920 enum auxtrace_type type = event->auxtrace_info.type; in perf_event__process_auxtrace_info()
Dcs-etm.c2400 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in cs_etm__process_auxtrace_info() local
2406 int total_size = auxtrace_info->header.size; in cs_etm__process_auxtrace_info()
2426 ptr = (u64 *) auxtrace_info->priv; in cs_etm__process_auxtrace_info()
2546 etm->auxtrace_type = auxtrace_info->type; in cs_etm__process_auxtrace_info()
2578 cs_etm__print_auxtrace_info(auxtrace_info->priv, num_cpu); in cs_etm__process_auxtrace_info()
Dsession.c510 if (tool->auxtrace_info == NULL) in perf_tool__fill_defaults()
511 tool->auxtrace_info = process_event_op2_stub; in perf_tool__fill_defaults()
802 event->auxtrace_info.type = bswap_32(event->auxtrace_info.type); in perf_event__auxtrace_info_swap()
805 size -= (void *)&event->auxtrace_info.priv - (void *)event; in perf_event__auxtrace_info_swap()
806 mem_bswap_64(event->auxtrace_info.priv, size); in perf_event__auxtrace_info_swap()
1540 return tool->auxtrace_info(session, event); in perf_session__process_user_event()
/Linux-v5.4/tools/perf/arch/x86/util/
Dintel-pt.c318 struct perf_record_auxtrace_info *auxtrace_info, in intel_pt_info_fill() argument
373 auxtrace_info->type = PERF_AUXTRACE_INTEL_PT; in intel_pt_info_fill()
374 auxtrace_info->priv[INTEL_PT_PMU_TYPE] = intel_pt_pmu->type; in intel_pt_info_fill()
375 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
376 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
377 auxtrace_info->priv[INTEL_PT_TIME_ZERO] = tc.time_zero; in intel_pt_info_fill()
378 auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO] = cap_user_time_zero; in intel_pt_info_fill()
379 auxtrace_info->priv[INTEL_PT_TSC_BIT] = tsc_bit; in intel_pt_info_fill()
380 auxtrace_info->priv[INTEL_PT_NORETCOMP_BIT] = noretcomp_bit; in intel_pt_info_fill()
381 auxtrace_info->priv[INTEL_PT_HAVE_SCHED_SWITCH] = ptr->have_sched_switch; in intel_pt_info_fill()
[all …]
Dintel-bts.c64 struct perf_record_auxtrace_info *auxtrace_info, in intel_bts_info_fill() argument
94 auxtrace_info->type = PERF_AUXTRACE_INTEL_BTS; in intel_bts_info_fill()
95 auxtrace_info->priv[INTEL_BTS_PMU_TYPE] = intel_bts_pmu->type; in intel_bts_info_fill()
96 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
97 auxtrace_info->priv[INTEL_BTS_TIME_MULT] = tc.time_mult; in intel_bts_info_fill()
98 auxtrace_info->priv[INTEL_BTS_TIME_ZERO] = tc.time_zero; in intel_bts_info_fill()
99 auxtrace_info->priv[INTEL_BTS_CAP_USER_TIME_ZERO] = cap_user_time_zero; in intel_bts_info_fill()
100 auxtrace_info->priv[INTEL_BTS_SNAPSHOT_MODE] = btsr->snapshot_mode; in intel_bts_info_fill()
/Linux-v5.4/tools/perf/arch/s390/util/
Dauxtrace.c33 struct perf_record_auxtrace_info *auxtrace_info __maybe_unused, in cpumsf_info_fill()
36 auxtrace_info->type = PERF_AUXTRACE_S390_CPUMSF; in cpumsf_info_fill()
/Linux-v5.4/tools/perf/arch/arm64/util/
Darm-spe.c44 struct perf_record_auxtrace_info *auxtrace_info, in arm_spe_info_fill() argument
57 auxtrace_info->type = PERF_AUXTRACE_ARM_SPE; in arm_spe_info_fill()
58 auxtrace_info->priv[ARM_SPE_PMU_TYPE] = arm_spe_pmu->type; in arm_spe_info_fill()
/Linux-v5.4/tools/perf/lib/include/perf/
Devent.h369 struct perf_record_auxtrace_info auxtrace_info; member
/Linux-v5.4/tools/perf/
Dbuiltin-inject.c678 inject->tool.auxtrace_info = perf_event__process_auxtrace_info; in __cmd_inject()
763 .auxtrace_info = perf_event__repipe_op2_synth, in cmd_inject()
Dbuiltin-report.c1052 .auxtrace_info = perf_event__process_auxtrace_info, in cmd_report()
Dbuiltin-script.c3432 .auxtrace_info = perf_script__process_auxtrace_info, in cmd_script()