Lines Matching refs:tool
657 static int process_lost_event(struct perf_tool *tool, in process_lost_event() argument
662 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool); in process_lost_event()
678 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
686 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, in process_sample_event()
687 tool); in process_sample_event()
1095 kvm->tool = eops; in read_events()
1096 kvm->session = perf_session__new(&file, false, &kvm->tool); in read_events()
1386 kvm->tool.sample = process_sample_event; in kvm_events_live()
1387 kvm->tool.comm = perf_event__process_comm; in kvm_events_live()
1388 kvm->tool.exit = perf_event__process_exit; in kvm_events_live()
1389 kvm->tool.fork = perf_event__process_fork; in kvm_events_live()
1390 kvm->tool.lost = process_lost_event; in kvm_events_live()
1391 kvm->tool.namespaces = perf_event__process_namespaces; in kvm_events_live()
1392 kvm->tool.ordered_events = true; in kvm_events_live()
1393 perf_tool__fill_defaults(&kvm->tool); in kvm_events_live()
1451 kvm->session = perf_session__new(&data, false, &kvm->tool); in kvm_events_live()