• Home
  • Raw
  • Download

Lines Matching refs:itr

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
536 if (itr && itr->snapshot_start) in auxtrace_record__snapshot_start()
537 return itr->snapshot_start(itr); in auxtrace_record__snapshot_start()
541 int auxtrace_record__snapshot_finish(struct auxtrace_record *itr, bool on_exit) in auxtrace_record__snapshot_finish() argument
543 if (!on_exit && itr && itr->snapshot_finish) in auxtrace_record__snapshot_finish()
544 return itr->snapshot_finish(itr); in auxtrace_record__snapshot_finish()
548 int auxtrace_record__find_snapshot(struct auxtrace_record *itr, int idx, in auxtrace_record__find_snapshot() argument
552 if (itr && itr->find_snapshot) in auxtrace_record__find_snapshot()
553 return itr->find_snapshot(itr, idx, mm, data, head, old); in auxtrace_record__find_snapshot()
557 int auxtrace_record__options(struct auxtrace_record *itr, in auxtrace_record__options() argument
561 if (itr) in auxtrace_record__options()
562 return itr->recording_options(itr, evlist, opts); in auxtrace_record__options()
566 u64 auxtrace_record__reference(struct auxtrace_record *itr) in auxtrace_record__reference() argument
568 if (itr) in auxtrace_record__reference()
569 return itr->reference(itr); in auxtrace_record__reference()
573 int auxtrace_parse_snapshot_options(struct auxtrace_record *itr, in auxtrace_parse_snapshot_options() argument
589 if (itr && itr->parse_snapshot_options) in auxtrace_parse_snapshot_options()
590 return itr->parse_snapshot_options(itr, opts, str); in auxtrace_parse_snapshot_options()
884 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, in perf_event__synthesize_auxtrace_info() argument
894 priv_size = auxtrace_record__info_priv_size(itr, session->evlist); in perf_event__synthesize_auxtrace_info()
902 err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, in perf_event__synthesize_auxtrace_info()
1228 struct auxtrace_record *itr, in __auxtrace_mmap__read() argument
1241 if (auxtrace_record__find_snapshot(itr, mm->idx, mm, data, in __auxtrace_mmap__read()
1270 ref = auxtrace_record__reference(itr); in __auxtrace_mmap__read()
1297 if (itr->alignment) { in __auxtrace_mmap__read()
1298 unsigned int unwanted = len1 % itr->alignment; in __auxtrace_mmap__read()
1326 if (itr->read_finish) { in __auxtrace_mmap__read()
1329 err = itr->read_finish(itr, mm->idx); in __auxtrace_mmap__read()
1338 int auxtrace_mmap__read(struct mmap *map, struct auxtrace_record *itr, in auxtrace_mmap__read() argument
1341 return __auxtrace_mmap__read(map, itr, tool, fn, false, 0); in auxtrace_mmap__read()
1345 struct auxtrace_record *itr, in auxtrace_mmap__read_snapshot() argument
1349 return __auxtrace_mmap__read(map, itr, tool, fn, true, snapshot_size); in auxtrace_mmap__read_snapshot()