Lines Matching refs:tool
84 struct perf_tool tool; member
786 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
792 struct convert *c = container_of(tool, struct convert, tool); in process_sample_event()
865 static int process_##_name##_event(struct perf_tool *tool, \
870 struct convert *c = container_of(tool, struct convert, tool);\
897 return perf_event__process_##_name(tool, _event, sample, machine);\
1586 .tool = { in bt_convert__perf2ctf()
1605 c.tool.comm = process_comm_event; in bt_convert__perf2ctf()
1606 c.tool.exit = process_exit_event; in bt_convert__perf2ctf()
1607 c.tool.fork = process_fork_event; in bt_convert__perf2ctf()
1608 c.tool.mmap = process_mmap_event; in bt_convert__perf2ctf()
1609 c.tool.mmap2 = process_mmap2_event; in bt_convert__perf2ctf()
1622 session = perf_session__new(&data, 0, &c.tool); in bt_convert__perf2ctf()