Lines Matching full:tool

36 #include "util/tool.h"
71 struct perf_tool tool; member
233 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
255 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
261 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
329 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
335 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
743 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
755 static int count_lost_samples_event(struct perf_tool *tool, in count_lost_samples_event() argument
760 struct report *rep = container_of(tool, struct report, tool); in count_lost_samples_event()
771 static int process_attr(struct perf_tool *tool __maybe_unused,
777 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
778 rep->tool.attr = process_attr; in stats_setup()
779 rep->tool.sample = count_sample_event; in stats_setup()
780 rep->tool.lost_samples = count_lost_samples_event; in stats_setup()
781 rep->tool.no_warn = true; in stats_setup()
795 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup()
796 rep->tool.ordered_events = true; in tasks_setup()
798 rep->tool.mmap = perf_event__process_mmap; in tasks_setup()
799 rep->tool.mmap2 = perf_event__process_mmap2; in tasks_setup()
801 rep->tool.attr = process_attr; in tasks_setup()
802 rep->tool.comm = perf_event__process_comm; in tasks_setup()
803 rep->tool.exit = perf_event__process_exit; in tasks_setup()
804 rep->tool.fork = perf_event__process_fork; in tasks_setup()
805 rep->tool.no_warn = true; in tasks_setup()
1151 static int process_attr(struct perf_tool *tool __maybe_unused, in process_attr()
1158 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
1190 .tool = { in cmd_report()
1420 report.tool.ordered_events = false; in cmd_report()
1449 session = perf_session__new(&data, &report.tool); in cmd_report()
1549 report.tool.show_feat_hdr = SHOW_FEAT_HEADER; in cmd_report()
1551 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; in cmd_report()