Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 12 of 12) sorted by relevance

/tools/perf/arch/arm64/util/
A Dhisi-ptt.c31 struct auxtrace_record itr; member
49 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill()
101 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options()
155 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free()
178 pttr->itr.info_priv_size = hisi_ptt_info_priv_size; in hisi_ptt_recording_init()
179 pttr->itr.info_fill = hisi_ptt_info_fill; in hisi_ptt_recording_init()
180 pttr->itr.free = hisi_ptt_recording_free; in hisi_ptt_recording_init()
181 pttr->itr.reference = hisi_ptt_reference; in hisi_ptt_recording_init()
182 pttr->itr.read_finish = auxtrace_record__read_finish; in hisi_ptt_recording_init()
183 pttr->itr.alignment = 0; in hisi_ptt_recording_init()
[all …]
A Darm-spe.c36 struct auxtrace_record itr; member
100 container_of(itr, struct arm_spe_recording, itr); in arm_spe_save_cpu_header()
144 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill()
389 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options()
460 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start()
477 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_finish()
584 container_of(itr, struct arm_spe_recording, itr); in arm_spe_find_snapshot()
643 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free()
672 sper->itr.info_fill = arm_spe_info_fill; in arm_spe_recording_init()
676 sper->itr.alignment = 0; in arm_spe_recording_init()
[all …]
/tools/perf/arch/x86/util/
A Dintel-bts.c40 struct auxtrace_record itr; member
68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill()
110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options()
256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options()
316 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_free()
325 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_start()
338 container_of(itr, struct intel_bts_recording, itr); in intel_bts_snapshot_finish()
370 container_of(itr, struct intel_bts_recording, itr); in intel_bts_find_snapshot()
439 btsr->itr.info_fill = intel_bts_info_fill; in intel_bts_recording_init()
440 btsr->itr.free = intel_bts_recording_free; in intel_bts_recording_init()
[all …]
A Dintel-pt.c52 struct auxtrace_record itr; member
245 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options()
300 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size()
325 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill()
617 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options()
900 container_of(itr, struct intel_pt_recording, itr); in intel_pt_snapshot_start()
913 container_of(itr, struct intel_pt_recording, itr); in intel_pt_snapshot_finish()
959 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_free()
1118 container_of(itr, struct intel_pt_recording, itr); in intel_pt_find_snapshot()
1217 ptr->itr.info_fill = intel_pt_info_fill; in intel_pt_recording_init()
[all …]
/tools/perf/arch/arm/util/
A Dcs-etm.c38 struct auxtrace_record itr; member
186 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_pmu()
245 container_of(itr, struct cs_etm_recording, itr); in cs_etm_parse_snapshot_options()
311 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_options()
481 container_of(itr, struct cs_etm_recording, itr); in cs_etm_get_config()
652 struct cs_etm_recording *ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_save_etmv4_header()
785 container_of(itr, struct cs_etm_recording, itr); in cs_etm_info_fill()
834 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_start()
847 container_of(itr, struct cs_etm_recording, itr); in cs_etm_snapshot_finish()
866 container_of(itr, struct cs_etm_recording, itr); in cs_etm_recording_free()
[all …]
/tools/perf/arch/s390/util/
A Dauxtrace.c19 static void cpumsf_free(struct auxtrace_record *itr) in cpumsf_free() argument
21 free(itr); in cpumsf_free()
24 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size()
31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill()
41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference()
76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options()
/tools/perf/util/
A Dauxtrace.h392 int (*recording_options)(struct auxtrace_record *itr,
395 size_t (*info_priv_size)(struct auxtrace_record *itr,
397 int (*info_fill)(struct auxtrace_record *itr,
401 void (*free)(struct auxtrace_record *itr);
402 int (*snapshot_start)(struct auxtrace_record *itr);
403 int (*snapshot_finish)(struct auxtrace_record *itr);
410 u64 (*reference)(struct auxtrace_record *itr);
411 int (*read_finish)(struct auxtrace_record *itr, int idx);
520 struct auxtrace_record *itr, struct perf_env *env,
584 int auxtrace_record__options(struct auxtrace_record *itr,
[all …]
A Dauxtrace.c563 if (itr) in auxtrace_record__info_priv_size()
564 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size()
587 itr->free(itr); in auxtrace_record__free()
592 if (itr && itr->snapshot_start) in auxtrace_record__snapshot_start()
593 return itr->snapshot_start(itr); in auxtrace_record__snapshot_start()
599 if (!on_exit && itr && itr->snapshot_finish) in auxtrace_record__snapshot_finish()
600 return itr->snapshot_finish(itr); in auxtrace_record__snapshot_finish()
608 if (itr && itr->find_snapshot) in auxtrace_record__find_snapshot()
627 return itr->reference(itr); in auxtrace_record__reference()
647 if (itr && itr->parse_snapshot_options) in auxtrace_parse_snapshot_options()
[all …]
A Devlist.c355 struct evlist_cpu_iterator itr = { in evlist__cpu_begin() local
367 itr.evlist_cpu_map_idx = itr.evlist_cpu_map_nr; in evlist__cpu_begin()
369 itr.evsel = evlist__first(evlist); in evlist__cpu_begin()
370 if (itr.affinity) { in evlist__cpu_begin()
371 itr.cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist__cpu_begin()
372 affinity__set(itr.affinity, itr.cpu.cpu); in evlist__cpu_begin()
373 itr.cpu_map_idx = perf_cpu_map__idx(itr.evsel->core.cpus, itr.cpu); in evlist__cpu_begin()
378 if (itr.cpu_map_idx == -1) in evlist__cpu_begin()
379 evlist_cpu_iterator__next(&itr); in evlist__cpu_begin()
382 return itr; in evlist__cpu_begin()
A Dsynthetic-events.h111 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, const struct perf_tool *tool,
119 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info()
/tools/perf/
A Dbuiltin-sched.c2391 itr = zalloc(sizeof(*itr)); in init_idle_thread()
2392 if (itr == NULL) in init_idle_thread()
2395 init_prio(&itr->tr); in init_idle_thread()
2446 if (itr) in free_idle_threads()
2539 if (itr == NULL) in timehist_get_thread()
2891 if (itr->cursor.nr) in timehist_sched_change_event()
2892 callchain_append(&itr->callchain, &itr->cursor, t - tprev); in timehist_sched_change_event()
2894 itr->last_thread = NULL; in timehist_sched_change_event()
3153 itr = thread__priv(t); in timehist_print_summary()
3154 if (itr == NULL) in timehist_print_summary()
[all …]
A Dbuiltin-record.c160 struct auxtrace_record *itr; member
778 ret = auxtrace_mmap__read(map, rec->itr, in record__auxtrace_mmap_read()
796 ret = auxtrace_mmap__read_snapshot(map, rec->itr, in record__auxtrace_mmap_read_snapshot()
836 if (auxtrace_record__snapshot_finish(rec->itr, on_exit)) in record__read_auxtrace_snapshot()
849 auxtrace_record__snapshot_start(rec->itr)) in record__auxtrace_snapshot_exit()
869 if (!rec->itr) { in record__auxtrace_init()
870 rec->itr = auxtrace_record__init(rec->evlist, &err); in record__auxtrace_init()
875 err = auxtrace_parse_snapshot_options(rec->itr, &rec->opts, in record__auxtrace_init()
2084 err = perf_event__synthesize_auxtrace_info(rec->itr, tool, in record__synthesize()
2267 if (auxtrace_record__snapshot_start(rec->itr)) in hit_auxtrace_snapshot_trigger()
[all …]

Completed in 49 milliseconds