Lines Matching full:tool
28 #include "util/tool.h"
35 struct perf_tool tool; member
121 static void output_sample_callchain_entry(const struct perf_tool *tool, in output_sample_callchain_entry() argument
124 struct convert_json *c = container_of(tool, struct convert_json, tool); in output_sample_callchain_entry()
149 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() argument
155 struct convert_json *c = container_of(tool, struct convert_json, tool); in process_sample_event()
223 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL); in process_sample_event()
227 output_sample_callchain_entry(tool, sample->ip, &al); in process_sample_event()
330 perf_tool__init(&c.tool, /*ordered_events=*/true); in bt_convert__perf2json()
331 c.tool.sample = process_sample_event; in bt_convert__perf2json()
332 c.tool.mmap = perf_event__process_mmap; in bt_convert__perf2json()
333 c.tool.mmap2 = perf_event__process_mmap2; in bt_convert__perf2json()
334 c.tool.comm = perf_event__process_comm; in bt_convert__perf2json()
335 c.tool.namespaces = perf_event__process_namespaces; in bt_convert__perf2json()
336 c.tool.cgroup = perf_event__process_cgroup; in bt_convert__perf2json()
337 c.tool.exit = perf_event__process_exit; in bt_convert__perf2json()
338 c.tool.fork = perf_event__process_fork; in bt_convert__perf2json()
339 c.tool.lost = perf_event__process_lost; in bt_convert__perf2json()
341 c.tool.tracing_data = perf_event__process_tracing_data; in bt_convert__perf2json()
343 c.tool.build_id = perf_event__process_build_id; in bt_convert__perf2json()
344 c.tool.id_index = perf_event__process_id_index; in bt_convert__perf2json()
345 c.tool.auxtrace_info = perf_event__process_auxtrace_info; in bt_convert__perf2json()
346 c.tool.auxtrace = perf_event__process_auxtrace; in bt_convert__perf2json()
347 c.tool.event_update = perf_event__process_event_update; in bt_convert__perf2json()
348 c.tool.ordering_requires_timestamps = true; in bt_convert__perf2json()
375 session = perf_session__new(&data, &c.tool); in bt_convert__perf2json()