/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() 144 static u64 arm_spe_reference(struct auxtrace_record *itr __maybe_unused) in arm_spe_reference() 153 static void arm_spe_recording_free(struct auxtrace_record *itr) in arm_spe_recording_free() argument 156 container_of(itr, struct arm_spe_recording, itr); in arm_spe_recording_free() 161 static int arm_spe_read_finish(struct auxtrace_record *itr, int idx) in arm_spe_read_finish() argument [all …]
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 37 struct auxtrace_record itr; member 59 static bool cs_etm_is_etmv4(struct auxtrace_record *itr, int cpu); 61 static int cs_etm_set_context_id(struct auxtrace_record *itr, in cs_etm_set_context_id() argument 70 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_context_id() 73 if (!cs_etm_is_etmv4(itr, cpu)) in cs_etm_set_context_id() 110 static int cs_etm_set_timestamp(struct auxtrace_record *itr, in cs_etm_set_timestamp() argument 119 ptr = container_of(itr, struct cs_etm_recording, itr); in cs_etm_set_timestamp() 122 if (!cs_etm_is_etmv4(itr, cpu)) in cs_etm_set_timestamp() 158 static int cs_etm_set_option(struct auxtrace_record *itr, in cs_etm_set_option() argument 172 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() 245 static int intel_bts_parse_snapshot_options(struct auxtrace_record *itr, in intel_bts_parse_snapshot_options() argument 250 container_of(itr, struct intel_bts_recording, itr); in intel_bts_parse_snapshot_options() 268 static u64 intel_bts_reference(struct auxtrace_record *itr __maybe_unused) in intel_bts_reference() 307 static void intel_bts_recording_free(struct auxtrace_record *itr) in intel_bts_recording_free() argument [all …]
|
D | intel-pt.c | 47 struct auxtrace_record itr; member 235 static int intel_pt_parse_snapshot_options(struct auxtrace_record *itr, in intel_pt_parse_snapshot_options() argument 240 container_of(itr, struct intel_pt_recording, itr); in intel_pt_parse_snapshot_options() 295 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() argument 298 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_priv_size() 316 static int intel_pt_info_fill(struct auxtrace_record *itr, in intel_pt_info_fill() argument 322 container_of(itr, struct intel_pt_recording, itr); in intel_pt_info_fill() 574 static int intel_pt_recording_options(struct auxtrace_record *itr, in intel_pt_recording_options() argument 579 container_of(itr, struct intel_pt_recording, itr); in intel_pt_recording_options() 810 static int intel_pt_snapshot_start(struct auxtrace_record *itr) in intel_pt_snapshot_start() argument [all …]
|
/tools/perf/util/ |
D | auxtrace.h | 318 int (*recording_options)(struct auxtrace_record *itr, 321 size_t (*info_priv_size)(struct auxtrace_record *itr, 323 int (*info_fill)(struct auxtrace_record *itr, 327 void (*free)(struct auxtrace_record *itr); 328 int (*snapshot_start)(struct auxtrace_record *itr); 329 int (*snapshot_finish)(struct auxtrace_record *itr); 330 int (*find_snapshot)(struct auxtrace_record *itr, int idx, 333 int (*parse_snapshot_options)(struct auxtrace_record *itr, 336 u64 (*reference)(struct auxtrace_record *itr); 337 int (*read_finish)(struct auxtrace_record *itr, int idx); [all …]
|
D | auxtrace.c | 504 size_t auxtrace_record__info_priv_size(struct auxtrace_record *itr, in auxtrace_record__info_priv_size() argument 507 if (itr) in auxtrace_record__info_priv_size() 508 return itr->info_priv_size(itr, evlist); in auxtrace_record__info_priv_size() 518 int auxtrace_record__info_fill(struct auxtrace_record *itr, in auxtrace_record__info_fill() argument 523 if (itr) in auxtrace_record__info_fill() 524 return itr->info_fill(itr, session, auxtrace_info, priv_size); in auxtrace_record__info_fill() 528 void auxtrace_record__free(struct auxtrace_record *itr) in auxtrace_record__free() argument 530 if (itr) in auxtrace_record__free() 531 itr->free(itr); in auxtrace_record__free() 534 int auxtrace_record__snapshot_start(struct auxtrace_record *itr) in auxtrace_record__snapshot_start() argument [all …]
|
D | synthetic-events.h | 73 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, 81 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 | 2189 struct idle_thread_runtime *itr; in init_idle_thread() local 2193 itr = zalloc(sizeof(*itr)); in init_idle_thread() 2194 if (itr == NULL) in init_idle_thread() 2197 init_stats(&itr->tr.run_stats); in init_idle_thread() 2198 callchain_init(&itr->callchain); in init_idle_thread() 2199 callchain_cursor_reset(&itr->cursor); in init_idle_thread() 2200 thread__set_priv(thread, itr); in init_idle_thread() 2283 struct idle_thread_runtime *itr, in save_idle_callchain() argument 2289 callchain_cursor__copy(&itr->cursor, &callchain_cursor); in save_idle_callchain() 2316 struct idle_thread_runtime *itr; in timehist_get_thread() local [all …]
|
D | builtin-record.c | 80 struct auxtrace_record *itr; member 574 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 590 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 628 if (auxtrace_record__snapshot_finish(rec->itr, on_exit)) in record__read_auxtrace_snapshot() 641 auxtrace_record__snapshot_start(rec->itr)) in record__auxtrace_snapshot_exit() 655 if (!rec->itr) { in record__auxtrace_init() 656 rec->itr = auxtrace_record__init(rec->evlist, &err); in record__auxtrace_init() 661 err = auxtrace_parse_snapshot_options(rec->itr, &rec->opts, in record__auxtrace_init() 685 int auxtrace_record__snapshot_start(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__snapshot_start() 1277 err = perf_event__synthesize_auxtrace_info(rec->itr, tool, in record__synthesize() [all …]
|