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