Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dintel-pt.c324 struct perf_record_auxtrace_info *auxtrace_info, in intel_pt_info_fill() argument
382 auxtrace_info->type = PERF_AUXTRACE_INTEL_PT; in intel_pt_info_fill()
383 auxtrace_info->priv[INTEL_PT_PMU_TYPE] = intel_pt_pmu->type; in intel_pt_info_fill()
384 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
385 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
386 auxtrace_info->priv[INTEL_PT_TIME_ZERO] = tc.time_zero; in intel_pt_info_fill()
387 auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO] = cap_user_time_zero; in intel_pt_info_fill()
388 auxtrace_info->priv[INTEL_PT_TSC_BIT] = tsc_bit; in intel_pt_info_fill()
389 auxtrace_info->priv[INTEL_PT_NORETCOMP_BIT] = noretcomp_bit; in intel_pt_info_fill()
390 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()
/kernel/linux/linux-5.10/tools/perf/util/
Dintel-bts.c860 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in intel_bts_process_auxtrace_info() local
865 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in intel_bts_process_auxtrace_info()
879 bts->auxtrace_type = auxtrace_info->type; in intel_bts_process_auxtrace_info()
880 bts->pmu_type = auxtrace_info->priv[INTEL_BTS_PMU_TYPE]; in intel_bts_process_auxtrace_info()
881 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
882 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
883 bts->tc.time_zero = auxtrace_info->priv[INTEL_BTS_TIME_ZERO]; in intel_bts_process_auxtrace_info()
885 auxtrace_info->priv[INTEL_BTS_CAP_USER_TIME_ZERO]; in intel_bts_process_auxtrace_info()
886 bts->snapshot_mode = auxtrace_info->priv[INTEL_BTS_SNAPSHOT_MODE]; in intel_bts_process_auxtrace_info()
898 intel_bts_print_info(&auxtrace_info->priv[0], INTEL_BTS_PMU_TYPE, in intel_bts_process_auxtrace_info()
Dintel-pt.c3308 static bool intel_pt_has(struct perf_record_auxtrace_info *auxtrace_info, int pos) in intel_pt_has() argument
3310 return auxtrace_info->header.size >= in intel_pt_has()
3317 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in intel_pt_process_auxtrace_info() local
3324 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in intel_pt_process_auxtrace_info()
3346 pt->auxtrace_type = auxtrace_info->type; in intel_pt_process_auxtrace_info()
3347 pt->pmu_type = auxtrace_info->priv[INTEL_PT_PMU_TYPE]; in intel_pt_process_auxtrace_info()
3348 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
3349 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
3350 pt->tc.time_zero = auxtrace_info->priv[INTEL_PT_TIME_ZERO]; in intel_pt_process_auxtrace_info()
3351 pt->cap_user_time_zero = auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO]; in intel_pt_process_auxtrace_info()
[all …]
Darm-spe.c931 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in arm_spe_process_auxtrace_info() local
936 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in arm_spe_process_auxtrace_info()
950 spe->auxtrace_type = auxtrace_info->type; in arm_spe_process_auxtrace_info()
951 spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE]; in arm_spe_process_auxtrace_info()
962 arm_spe_print_info(&auxtrace_info->priv[0]); in arm_spe_process_auxtrace_info()
Dtool.h69 auxtrace_info, member
Ds390-cpumsf.c1120 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in s390_cpumsf_process_auxtrace_info() local
1124 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info)) in s390_cpumsf_process_auxtrace_info()
1145 sf->auxtrace_type = auxtrace_info->type; in s390_cpumsf_process_auxtrace_info()
Dauxtrace.h368 struct perf_record_auxtrace_info *auxtrace_info,
567 struct perf_record_auxtrace_info *auxtrace_info,
Dcs-etm.c2487 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in cs_etm__process_auxtrace_info() local
2493 int total_size = auxtrace_info->header.size; in cs_etm__process_auxtrace_info()
2513 ptr = (u64 *) auxtrace_info->priv; in cs_etm__process_auxtrace_info()
2633 etm->auxtrace_type = auxtrace_info->type; in cs_etm__process_auxtrace_info()
2666 cs_etm__print_auxtrace_info(auxtrace_info->priv, num_cpu); in cs_etm__process_auxtrace_info()
Dsession.c517 if (tool->auxtrace_info == NULL) in perf_tool__fill_defaults()
518 tool->auxtrace_info = process_event_op2_stub; in perf_tool__fill_defaults()
841 event->auxtrace_info.type = bswap_32(event->auxtrace_info.type); in perf_event__auxtrace_info_swap()
844 size -= (void *)&event->auxtrace_info.priv - (void *)event; in perf_event__auxtrace_info_swap()
845 mem_bswap_64(event->auxtrace_info.priv, size); in perf_event__auxtrace_info_swap()
1609 return tool->auxtrace_info(session, event); in perf_session__process_user_event()
Dauxtrace.c568 struct perf_record_auxtrace_info *auxtrace_info, in auxtrace_record__info_fill() argument
572 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill()
1200 ev->auxtrace_info.header.type = PERF_RECORD_AUXTRACE_INFO; in perf_event__synthesize_auxtrace_info()
1201 ev->auxtrace_info.header.size = sizeof(struct perf_record_auxtrace_info) + in perf_event__synthesize_auxtrace_info()
1203 err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, in perf_event__synthesize_auxtrace_info()
1254 enum auxtrace_type type = event->auxtrace_info.type; in perf_event__process_auxtrace_info()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
Devent.h402 struct perf_record_auxtrace_info auxtrace_info; member
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-inject.c748 inject->tool.auxtrace_info = perf_event__process_auxtrace_info; in __cmd_inject()
830 .auxtrace_info = perf_event__repipe_op2_synth, in cmd_inject()
Dbuiltin-report.c1137 .auxtrace_info = perf_event__process_auxtrace_info, in cmd_report()
Dbuiltin-script.c3465 .auxtrace_info = perf_script__process_auxtrace_info, in cmd_script()