/tools/perf/arch/arm64/util/ |
D | hisi-ptt.c | 31 struct auxtrace_record itr; member 37 hisi_ptt_info_priv_size(struct auxtrace_record *itr __maybe_unused, in hisi_ptt_info_priv_size() 43 static int hisi_ptt_info_fill(struct auxtrace_record *itr, in hisi_ptt_info_fill() argument 49 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_info_fill() 96 static int hisi_ptt_recording_options(struct auxtrace_record *itr, in hisi_ptt_recording_options() argument 101 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_options() 147 static u64 hisi_ptt_reference(struct auxtrace_record *itr __maybe_unused) in hisi_ptt_reference() 152 static void hisi_ptt_recording_free(struct auxtrace_record *itr) in hisi_ptt_recording_free() argument 155 container_of(itr, struct hisi_ptt_recording, itr); in hisi_ptt_recording_free() 177 pttr->itr.pmu = hisi_ptt_pmu; in hisi_ptt_recording_init() [all …]
|
D | arm-spe.c | 32 struct auxtrace_record itr; member 40 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size() 46 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument 52 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 116 static int arm_spe_recording_options(struct auxtrace_record *itr, in arm_spe_recording_options() argument 121 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options() 261 static int arm_spe_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in arm_spe_parse_snapshot_options() 280 static int arm_spe_snapshot_start(struct auxtrace_record *itr) in arm_spe_snapshot_start() argument 283 container_of(itr, struct arm_spe_recording, itr); in arm_spe_snapshot_start() 293 static int arm_spe_snapshot_finish(struct auxtrace_record *itr) in arm_spe_snapshot_finish() argument [all …]
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 38 struct auxtrace_record itr; member 69 static bool cs_etm_is_etmv4(struct auxtrace_record *itr, int cpu); 70 static bool cs_etm_is_ete(struct auxtrace_record *itr, int cpu); 72 static int cs_etm_validate_context_id(struct auxtrace_record *itr, in cs_etm_validate_context_id() argument 76 container_of(itr, struct cs_etm_recording, itr); in cs_etm_validate_context_id() 90 if (!cs_etm_is_etmv4(itr, cpu)) { in cs_etm_validate_context_id() 143 static int cs_etm_validate_timestamp(struct auxtrace_record *itr, in cs_etm_validate_timestamp() argument 147 container_of(itr, struct cs_etm_recording, itr); in cs_etm_validate_timestamp() 157 if (!cs_etm_is_etmv4(itr, cpu)) { in cs_etm_validate_timestamp() 197 static int cs_etm_validate_config(struct auxtrace_record *itr, in cs_etm_validate_config() argument [all …]
|
/tools/perf/arch/x86/util/ |
D | intel-bts.c | 40 struct auxtrace_record itr; member 56 intel_bts_info_priv_size(struct auxtrace_record *itr __maybe_unused, in intel_bts_info_priv_size() 62 static int intel_bts_info_fill(struct auxtrace_record *itr, in intel_bts_info_fill() argument 68 container_of(itr, struct intel_bts_recording, itr); in intel_bts_info_fill() 105 static int intel_bts_recording_options(struct auxtrace_record *itr, in intel_bts_recording_options() argument 110 container_of(itr, struct intel_bts_recording, itr); in intel_bts_recording_options() 251 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument 256 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 274 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference() 313 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument [all …]
|
D | intel-pt.c | 51 struct auxtrace_record itr; member 242 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument 247 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 302 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 305 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 324 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 330 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 617 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 622 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 902 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument [all …]
|
/tools/perf/arch/s390/util/ |
D | auxtrace.c | 19 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/ |
D | auxtrace.h | 390 int (*recording_options)(struct auxtrace_record *itr, 393 size_t (*info_priv_size)(struct auxtrace_record *itr, 395 int (*info_fill)(struct auxtrace_record *itr, 399 void (*free)(struct auxtrace_record *itr); 400 int (*snapshot_start)(struct auxtrace_record *itr); 401 int (*snapshot_finish)(struct auxtrace_record *itr); 402 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 405 int (*parse_snapshot_options)(struct auxtrace_record *itr, 408 u64 (*reference)(struct auxtrace_record *itr); 409 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
D | auxtrace.c | 555 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 558 if (itr) in auxtrace_record__info_priv_size() 559 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 569 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 574 if (itr) in auxtrace_record__info_fill() 575 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 579 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 581 if (itr) in auxtrace_record__free() 582 itr->free(itr); in auxtrace_record__free() 585 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
D | evlist.c | 402 struct evlist_cpu_iterator itr = { in evlist__cpu_begin() local 414 itr.evlist_cpu_map_idx = itr.evlist_cpu_map_nr; in evlist__cpu_begin() 416 itr.evsel = evlist__first(evlist); in evlist__cpu_begin() 417 if (itr.affinity) { in evlist__cpu_begin() 418 itr.cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist__cpu_begin() 419 affinity__set(itr.affinity, itr.cpu.cpu); in evlist__cpu_begin() 420 itr.cpu_map_idx = perf_cpu_map__idx(itr.evsel->core.cpus, itr.cpu); in evlist__cpu_begin() 425 if (itr.cpu_map_idx == -1) in evlist__cpu_begin() 426 evlist_cpu_iterator__next(&itr); in evlist__cpu_begin() 429 return itr; in evlist__cpu_begin()
|
D | synthetic-events.h | 90 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, 98 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info()
|
/tools/perf/ |
D | builtin-sched.c | 2246 struct idle_thread_runtime *itr; in init_idle_thread() local 2250 itr = zalloc(sizeof(*itr)); in init_idle_thread() 2251 if (itr == NULL) in init_idle_thread() 2254 init_stats(&itr->tr.run_stats); in init_idle_thread() 2255 callchain_init(&itr->callchain); in init_idle_thread() 2256 callchain_cursor_reset(&itr->cursor); in init_idle_thread() 2257 thread__set_priv(thread, itr); in init_idle_thread() 2340 struct idle_thread_runtime *itr, in save_idle_callchain() argument 2352 callchain_cursor__copy(&itr->cursor, cursor); in save_idle_callchain() 2379 struct idle_thread_runtime *itr; in timehist_get_thread() local [all …]
|
D | builtin-record.c | 158 struct auxtrace_record *itr; member 740 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 756 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 794 if (auxtrace_record__snapshot_finish(rec->itr, on_exit)) in record__read_auxtrace_snapshot() 807 auxtrace_record__snapshot_start(rec->itr)) in record__auxtrace_snapshot_exit() 827 if (!rec->itr) { in record__auxtrace_init() 828 rec->itr = auxtrace_record__init(rec->evlist, &err); in record__auxtrace_init() 833 err = auxtrace_parse_snapshot_options(rec->itr, &rec->opts, in record__auxtrace_init() 838 err = auxtrace_parse_sample_options(rec->itr, rec->evlist, &rec->opts, in record__auxtrace_init() 864 int auxtrace_record__snapshot_start(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__snapshot_start() [all …]
|