/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 30 struct auxtrace_record itr; member 36 arm_spe_info_priv_size(struct auxtrace_record *itr __maybe_unused, in arm_spe_info_priv_size() 42 static int arm_spe_info_fill(struct auxtrace_record *itr, in arm_spe_info_fill() argument 48 container_of(itr, struct arm_spe_recording, itr); in arm_spe_info_fill() 63 static int arm_spe_recording_options(struct auxtrace_record *itr, in arm_spe_recording_options() argument 68 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_options() 150 static u64 arm_spe_reference(struct auxtrace_record *itr __maybe_unused) in arm_spe_reference() 159 static void arm_spe_recording_free(struct auxtrace_record *itr) in arm_spe_recording_free() argument 162 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free() 184 sper->itr.pmu = arm_spe_pmu; in arm_spe_recording_init() [all …]
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 38 struct auxtrace_record itr; member 60 static bool cs_etm_is_etmv4(struct auxtrace_record *itr, int cpu); 62 static int cs_etm_set_context_id(struct auxtrace_record *itr, in cs_etm_set_context_id() argument 71 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_context_id() 74 if (!cs_etm_is_etmv4(itr, cpu)) in cs_etm_set_context_id() 111 static int cs_etm_set_timestamp(struct auxtrace_record *itr, in cs_etm_set_timestamp() argument 120 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_timestamp() 123 if (!cs_etm_is_etmv4(itr, cpu)) in cs_etm_set_timestamp() 159 static int cs_etm_set_option(struct auxtrace_record *itr, in cs_etm_set_option() argument 173 err = cs_etm_set_context_id(itr, evsel, i); in cs_etm_set_option() [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() 250 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument 255 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 273 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference() 312 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument [all …]
|
D | intel-pt.c | 49 struct auxtrace_record itr; member 241 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument 246 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 301 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 304 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 322 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 328 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 619 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 624 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 898 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument [all …]
|
/tools/perf/util/ |
D | auxtrace.h | 361 int (*recording_options)(struct auxtrace_record *itr, 364 size_t (*info_priv_size)(struct auxtrace_record *itr, 366 int (*info_fill)(struct auxtrace_record *itr, 370 void (*free)(struct auxtrace_record *itr); 371 int (*snapshot_start)(struct auxtrace_record *itr); 372 int (*snapshot_finish)(struct auxtrace_record *itr); 373 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 376 int (*parse_snapshot_options)(struct auxtrace_record *itr, 379 u64 (*reference)(struct auxtrace_record *itr); 380 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
D | auxtrace.c | 552 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 555 if (itr) in auxtrace_record__info_priv_size() 556 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 566 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 571 if (itr) in auxtrace_record__info_fill() 572 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 576 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 578 if (itr) in auxtrace_record__free() 579 itr->free(itr); in auxtrace_record__free() 582 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
D | synthetic-events.h | 74 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, 82 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info()
|
/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/testing/selftests/gpio/ |
D | gpio-mockup-chardev.c | 34 struct libmnt_iter *itr = NULL; in get_debugfs() local 42 itr = mnt_new_iter(MNT_ITER_FORWARD); in get_debugfs() 43 if (!itr) in get_debugfs() 49 while (mnt_table_next_fs(tb, itr, &fs) == 0) { in get_debugfs() 63 mnt_free_iter(itr); in get_debugfs()
|
/tools/perf/ |
D | builtin-sched.c | 2197 struct idle_thread_runtime *itr; in init_idle_thread() local 2201 itr = zalloc(sizeof(*itr)); in init_idle_thread() 2202 if (itr == NULL) in init_idle_thread() 2205 init_stats(&itr->tr.run_stats); in init_idle_thread() 2206 callchain_init(&itr->callchain); in init_idle_thread() 2207 callchain_cursor_reset(&itr->cursor); in init_idle_thread() 2208 thread__set_priv(thread, itr); in init_idle_thread() 2291 struct idle_thread_runtime *itr, in save_idle_callchain() argument 2297 callchain_cursor__copy(&itr->cursor, &callchain_cursor); in save_idle_callchain() 2324 struct idle_thread_runtime *itr; in timehist_get_thread() local [all …]
|
D | builtin-record.c | 93 struct auxtrace_record *itr; member 636 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 652 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 690 if (auxtrace_record__snapshot_finish(rec->itr, on_exit)) in record__read_auxtrace_snapshot() 703 auxtrace_record__snapshot_start(rec->itr)) in record__auxtrace_snapshot_exit() 717 if (!rec->itr) { in record__auxtrace_init() 718 rec->itr = auxtrace_record__init(rec->evlist, &err); in record__auxtrace_init() 723 err = auxtrace_parse_snapshot_options(rec->itr, &rec->opts, in record__auxtrace_init() 728 err = auxtrace_parse_sample_options(rec->itr, rec->evlist, &rec->opts, in record__auxtrace_init() 752 int auxtrace_record__snapshot_start(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__snapshot_start() [all …]
|