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()
720 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
732 static int process_attr(struct perf_tool *tool __maybe_unused,
738 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
739 rep->tool.attr = process_attr; in stats_setup()
740 rep->tool.sample = count_sample_event; in stats_setup()
741 rep->tool.no_warn = true; in stats_setup()
755 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup()
756 rep->tool.ordered_events = true; in tasks_setup()
758 rep->tool.mmap = perf_event__process_mmap; in tasks_setup()
759 rep->tool.mmap2 = perf_event__process_mmap2; in tasks_setup()
761 rep->tool.attr = process_attr; in tasks_setup()
762 rep->tool.comm = perf_event__process_comm; in tasks_setup()
763 rep->tool.exit = perf_event__process_exit; in tasks_setup()
764 rep->tool.fork = perf_event__process_fork; in tasks_setup()
765 rep->tool.no_warn = true; in tasks_setup()
1111 static int process_attr(struct perf_tool *tool __maybe_unused, in process_attr()
1118 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
1150 .tool = { in cmd_report()
1376 report.tool.ordered_events = false; in cmd_report()
1414 session = perf_session__new(&data, &report.tool); in cmd_report()
1510 report.tool.show_feat_hdr = SHOW_FEAT_HEADER; in cmd_report()
1512 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; in cmd_report()