Lines Matching refs:tool

75 	struct perf_tool	tool;  member
242 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
264 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
270 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
340 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
346 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
753 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
765 static int count_lost_samples_event(struct perf_tool *tool, in count_lost_samples_event() argument
770 struct report *rep = container_of(tool, struct report, tool); in count_lost_samples_event()
781 static int process_attr(struct perf_tool *tool __maybe_unused,
787 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
788 rep->tool.attr = process_attr; in stats_setup()
789 rep->tool.sample = count_sample_event; in stats_setup()
790 rep->tool.lost_samples = count_lost_samples_event; in stats_setup()
791 rep->tool.no_warn = true; in stats_setup()
805 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup()
806 rep->tool.ordered_events = true; in tasks_setup()
808 rep->tool.mmap = perf_event__process_mmap; in tasks_setup()
809 rep->tool.mmap2 = perf_event__process_mmap2; in tasks_setup()
811 rep->tool.attr = process_attr; in tasks_setup()
812 rep->tool.comm = perf_event__process_comm; in tasks_setup()
813 rep->tool.exit = perf_event__process_exit; in tasks_setup()
814 rep->tool.fork = perf_event__process_fork; in tasks_setup()
815 rep->tool.no_warn = true; in tasks_setup()
1166 static int process_attr(struct perf_tool *tool __maybe_unused, in process_attr()
1173 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
1205 .tool = { in cmd_report()
1457 report.tool.ordered_events = false; in cmd_report()
1486 session = perf_session__new(&data, &report.tool); in cmd_report()
1586 report.tool.show_feat_hdr = SHOW_FEAT_HEADER; in cmd_report()
1588 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; in cmd_report()