Lines Matching refs:tool
71 struct perf_tool tool; member
227 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
249 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
255 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
323 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
329 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
723 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
735 static int process_attr(struct perf_tool *tool __maybe_unused,
741 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
742 rep->tool.attr = process_attr; in stats_setup()
743 rep->tool.sample = count_sample_event; in stats_setup()
744 rep->tool.no_warn = true; in stats_setup()
758 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup()
759 rep->tool.ordered_events = true; in tasks_setup()
761 rep->tool.mmap = perf_event__process_mmap; in tasks_setup()
762 rep->tool.mmap2 = perf_event__process_mmap2; in tasks_setup()
764 rep->tool.attr = process_attr; in tasks_setup()
765 rep->tool.comm = perf_event__process_comm; in tasks_setup()
766 rep->tool.exit = perf_event__process_exit; in tasks_setup()
767 rep->tool.fork = perf_event__process_fork; in tasks_setup()
768 rep->tool.no_warn = true; in tasks_setup()
1114 static int process_attr(struct perf_tool *tool __maybe_unused, in process_attr()
1121 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
1153 .tool = { in cmd_report()
1379 report.tool.ordered_events = false; in cmd_report()
1408 session = perf_session__new(&data, &report.tool); in cmd_report()
1504 report.tool.show_feat_hdr = SHOW_FEAT_HEADER; in cmd_report()
1506 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; in cmd_report()