Lines Matching refs:tool

36 #include "util/tool.h"
76 struct perf_tool tool;
243 struct report *rep = container_of(session->tool, struct report, tool);
265 static int process_sample_event(struct perf_tool *tool,
271 struct report *rep = container_of(tool, struct report, tool);
341 static int process_read_event(struct perf_tool *tool,
347 struct report *rep = container_of(tool, struct report, tool);
767 static int count_sample_event(struct perf_tool *tool __maybe_unused,
779 static int count_lost_samples_event(struct perf_tool *tool,
784 struct report *rep = container_of(tool, struct report, tool);
795 static int process_attr(struct perf_tool *tool __maybe_unused,
801 memset(&rep->tool, 0, sizeof(rep->tool));
802 rep->tool.attr = process_attr;
803 rep->tool.sample = count_sample_event;
804 rep->tool.lost_samples = count_lost_samples_event;
805 rep->tool.no_warn = true;
819 memset(&rep->tool, 0, sizeof(rep->tool));
820 rep->tool.ordered_events = true;
822 rep->tool.mmap = perf_event__process_mmap;
823 rep->tool.mmap2 = perf_event__process_mmap2;
825 rep->tool.attr = process_attr;
826 rep->tool.comm = perf_event__process_comm;
827 rep->tool.exit = perf_event__process_exit;
828 rep->tool.fork = perf_event__process_fork;
829 rep->tool.no_warn = true;
1238 static int process_attr(struct perf_tool *tool __maybe_unused,
1245 err = perf_event__process_attr(tool, event, pevlist);
1277 .tool = {
1536 report.tool.ordered_events = false;
1565 session = perf_session__new(&data, &report.tool);
1665 report.tool.show_feat_hdr = SHOW_FEAT_HEADER;
1667 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO;