• Home
  • Raw
  • Download

Lines Matching refs:tool

89 	struct perf_tool	tool;  member
509 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument
514 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
518 static int process_locked_synthesized_event(struct perf_tool *tool, in process_locked_synthesized_event() argument
527 ret = process_synthesized_event(tool, event, sample, machine); in process_locked_synthesized_event()
593 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument
598 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
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()
967 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
973 struct record *rec = container_of(tool, struct record, tool); in process_sample_event()
984 return build_id__mark_dso_hit(tool, event, sample, evsel, machine); in process_sample_event()
1012 rec->tool.sample = NULL; in process_buildids()
1020 struct perf_tool *tool = data; in perf_event__synthesize_guest_os() local
1029 err = perf_event__synthesize_modules(tool, process_synthesized_event, in perf_event__synthesize_guest_os()
1039 err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, in perf_event__synthesize_guest_os()
1253 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload()
1380 struct perf_tool *tool = &rec->tool; in record__synthesize() local
1393 err = perf_event__synthesize_attrs(tool, rec->evlist, in record__synthesize()
1400 err = perf_event__synthesize_features(tool, session, rec->evlist, in record__synthesize()
1416 err = perf_event__synthesize_tracing_data(tool, fd, rec->evlist, in record__synthesize()
1426 err = perf_event__synth_time_conv(record__pick_pc(rec), tool, in record__synthesize()
1433 err = perf_event__synthesize_id_index(tool, in record__synthesize()
1441 err = perf_event__synthesize_auxtrace_info(rec->itr, tool, in record__synthesize()
1448 err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, in record__synthesize()
1454 err = perf_event__synthesize_modules(tool, process_synthesized_event, in record__synthesize()
1463 perf_event__synthesize_guest_os, tool); in record__synthesize()
1466 err = perf_event__synthesize_extra_attr(&rec->tool, in record__synthesize()
1473 err = perf_event__synthesize_thread_map2(&rec->tool, rec->evlist->core.threads, in record__synthesize()
1481 err = perf_event__synthesize_cpu_map(&rec->tool, rec->evlist->core.cpus, in record__synthesize()
1493 err = perf_event__synthesize_cgroups(tool, process_synthesized_event, in record__synthesize()
1503 err = __machine__synthesize_threads(machine, tool, &opts->target, rec->evlist->core.threads, in record__synthesize()
1612 struct perf_tool *tool = &rec->tool; in __cmd_record() local
1628 tool->namespace_events = true; in __cmd_record()
1632 tool->cgroup_events = true; in __cmd_record()
1649 session = perf_session__new(data, false, tool); in __cmd_record()
1739 if (rec->tool.ordered_events && !evlist__sample_id_all(rec->evlist)) { in __cmd_record()
1741 rec->tool.ordered_events = false; in __cmd_record()
1812 tgid = perf_event__synthesize_comm(tool, event, in __cmd_record()
1832 perf_event__synthesize_namespaces(tool, event, in __cmd_record()
2344 static int build_id__process_mmap(struct perf_tool *tool, union perf_event *event, in build_id__process_mmap() argument
2353 return perf_event__process_mmap(tool, event, sample, machine); in build_id__process_mmap()
2356 static int build_id__process_mmap2(struct perf_tool *tool, union perf_event *event, in build_id__process_mmap2() argument
2366 return perf_event__process_mmap2(tool, event, sample, machine); in build_id__process_mmap2()
2395 .tool = {