Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dhisi-ptt.c166 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in hisi_ptt_process_auxtrace_info() local
169 if (auxtrace_info->header.size < HISI_PTT_AUXTRACE_PRIV_SIZE + in hisi_ptt_process_auxtrace_info()
179 ptt->auxtrace_type = auxtrace_info->type; in hisi_ptt_process_auxtrace_info()
180 ptt->pmu_type = auxtrace_info->priv[0]; in hisi_ptt_process_auxtrace_info()
190 hisi_ptt_print_info(auxtrace_info->priv[0]); in hisi_ptt_process_auxtrace_info()
Dcs-etm-base.c167 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in cs_etm__process_auxtrace_info() local
173 if (auxtrace_info->header.size < (event_header_size + INFO_HEADER_SIZE)) in cs_etm__process_auxtrace_info()
177 ptr = (u64 *) auxtrace_info->priv; in cs_etm__process_auxtrace_info()
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.c4173 static bool intel_pt_has(struct perf_record_auxtrace_info *auxtrace_info, int pos) in intel_pt_has() argument
4175 return auxtrace_info->header.size >= in intel_pt_has()
4182 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in intel_pt_process_auxtrace_info() local
4189 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in intel_pt_process_auxtrace_info()
4228 pt->auxtrace_type = auxtrace_info->type; in intel_pt_process_auxtrace_info()
4229 pt->pmu_type = auxtrace_info->priv[INTEL_PT_PMU_TYPE]; in intel_pt_process_auxtrace_info()
4230 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
4231 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
4232 pt->tc.time_zero = auxtrace_info->priv[INTEL_PT_TIME_ZERO]; in intel_pt_process_auxtrace_info()
4233 pt->cap_user_time_zero = auxtrace_info->priv[INTEL_PT_CAP_USER_TIME_ZERO]; in intel_pt_process_auxtrace_info()
[all …]
Dtool.h71 auxtrace_info, member
Darm-spe.c1293 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in arm_spe_process_auxtrace_info() local
1301 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info) + in arm_spe_process_auxtrace_info()
1315 spe->auxtrace_type = auxtrace_info->type; in arm_spe_process_auxtrace_info()
1316 spe->pmu_type = auxtrace_info->priv[ARM_SPE_PMU_TYPE]; in arm_spe_process_auxtrace_info()
1350 arm_spe_print_info(&auxtrace_info->priv[0]); in arm_spe_process_auxtrace_info()
Ds390-cpumsf.c1121 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in s390_cpumsf_process_auxtrace_info() local
1125 if (auxtrace_info->header.size < sizeof(struct perf_record_auxtrace_info)) in s390_cpumsf_process_auxtrace_info()
1146 sf->auxtrace_type = auxtrace_info->type; in s390_cpumsf_process_auxtrace_info()
Dauxtrace.h397 struct perf_record_auxtrace_info *auxtrace_info,
588 struct perf_record_auxtrace_info *auxtrace_info,
Dauxtrace.c571 struct perf_record_auxtrace_info *auxtrace_info, in auxtrace_record__info_fill() argument
575 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill()
1252 ev->auxtrace_info.header.type = PERF_RECORD_AUXTRACE_INFO; in perf_event__synthesize_auxtrace_info()
1253 ev->auxtrace_info.header.size = sizeof(struct perf_record_auxtrace_info) + in perf_event__synthesize_auxtrace_info()
1255 err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, in perf_event__synthesize_auxtrace_info()
1306 enum auxtrace_type type = event->auxtrace_info.type; in perf_event__process_auxtrace_info()
Dsession.c536 if (tool->auxtrace_info == NULL) in perf_tool__fill_defaults()
537 tool->auxtrace_info = process_event_op2_stub; in perf_tool__fill_defaults()
865 event->auxtrace_info.type = bswap_32(event->auxtrace_info.type); in perf_event__auxtrace_info_swap()
868 size -= (void *)&event->auxtrace_info.priv - (void *)event; in perf_event__auxtrace_info_swap()
869 mem_bswap_64(event->auxtrace_info.priv, size); in perf_event__auxtrace_info_swap()
1696 return tool->auxtrace_info(session, event); in perf_session__process_user_event()
Dcs-etm.c3212 struct perf_record_auxtrace_info *auxtrace_info = &event->auxtrace_info; in cs_etm__process_auxtrace_info_full() local
3216 int total_size = auxtrace_info->header.size; in cs_etm__process_auxtrace_info_full()
3235 ptr = (u64 *) auxtrace_info->priv; in cs_etm__process_auxtrace_info_full()
3323 etm->auxtrace_type = auxtrace_info->type; in cs_etm__process_auxtrace_info_full()
Ddata-convert-json.c334 .auxtrace_info = perf_event__process_auxtrace_info, in bt_convert__perf2json()
/linux-6.6.21/tools/perf/arch/x86/util/
Dintel-pt.c325 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()
/linux-6.6.21/tools/perf/arch/arm64/util/
Dhisi-ptt.c45 struct perf_record_auxtrace_info *auxtrace_info, in hisi_ptt_info_fill() argument
58 auxtrace_info->type = PERF_AUXTRACE_HISI_PTT; in hisi_ptt_info_fill()
59 auxtrace_info->priv[0] = hisi_ptt_pmu->type; in hisi_ptt_info_fill()
Darm-spe.c48 struct perf_record_auxtrace_info *auxtrace_info, in arm_spe_info_fill() argument
61 auxtrace_info->type = PERF_AUXTRACE_ARM_SPE; in arm_spe_info_fill()
62 auxtrace_info->priv[ARM_SPE_PMU_TYPE] = arm_spe_pmu->type; in arm_spe_info_fill()
/linux-6.6.21/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-6.6.21/tools/lib/perf/include/perf/
Devent.h500 struct perf_record_auxtrace_info auxtrace_info; member
/linux-6.6.21/tools/perf/
Dbuiltin-mem.c462 .auxtrace_info = perf_event__process_auxtrace_info, in cmd_mem()
Dbuiltin-annotate.c520 .auxtrace_info = perf_event__process_auxtrace_info, in cmd_annotate()
Dbuiltin-inject.c2022 inject->tool.auxtrace_info = perf_event__process_auxtrace_info; in __cmd_inject()
2034 inject->tool.auxtrace_info = perf_event__process_auxtrace_info; in __cmd_inject()
2191 .auxtrace_info = perf_event__repipe_op2_synth, in cmd_inject()
Dbuiltin-report.c1222 .auxtrace_info = perf_event__process_auxtrace_info, in cmd_report()
Dbuiltin-c2c.c397 .auxtrace_info = perf_event__process_auxtrace_info,
Dbuiltin-script.c3846 .auxtrace_info = perf_script__process_auxtrace_info, in cmd_script()