Lines Matching refs:tool
30 #include "util/tool.h"
37 struct perf_tool tool;
132 static void output_sample_callchain_entry(const struct perf_tool *tool,
135 struct convert_json *c = container_of(tool, struct convert_json, tool);
160 static int process_sample_event(const struct perf_tool *tool,
165 struct convert_json *c = container_of(tool, struct convert_json, tool);
239 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL);
243 output_sample_callchain_entry(tool, sample->ip, &al);
351 perf_tool__init(&c.tool, /*ordered_events=*/true);
352 c.tool.sample = process_sample_event;
353 c.tool.mmap = perf_event__process_mmap;
354 c.tool.mmap2 = perf_event__process_mmap2;
355 c.tool.comm = perf_event__process_comm;
356 c.tool.namespaces = perf_event__process_namespaces;
357 c.tool.cgroup = perf_event__process_cgroup;
358 c.tool.exit = perf_event__process_exit;
359 c.tool.fork = perf_event__process_fork;
360 c.tool.lost = perf_event__process_lost;
362 c.tool.tracing_data = perf_event__process_tracing_data;
364 c.tool.build_id = perf_event__process_build_id;
365 c.tool.id_index = perf_event__process_id_index;
366 c.tool.auxtrace_info = perf_event__process_auxtrace_info;
367 c.tool.auxtrace = perf_event__process_auxtrace;
368 c.tool.event_update = perf_event__process_event_update;
369 c.tool.attr = perf_event__process_attr;
370 c.tool.feature = perf_event__process_feature;
371 c.tool.ordering_requires_timestamps = true;
398 session = perf_session__new(&data, &c.tool);