Searched refs:perf_stat (Results 1 – 3 of 3) sorted by relevance
175 struct perf_stat { struct187 static struct perf_stat perf_stat; argument188 #define STAT_RECORD perf_stat.record285 if (perf_data__write(&perf_stat.data, event, event->header.size) < 0) { in process_synthesized_event()290 perf_stat.bytes_written += event->header.size; in process_synthesized_event()721 bool is_pipe = STAT_RECORD ? perf_stat.data.is_pipe : false; in __run_perf_stat()854 int err, fd = perf_data__fd(&perf_stat.data); in __run_perf_stat()857 err = perf_header__write_pipe(perf_data__fd(&perf_stat.data)); in __run_perf_stat()859 err = perf_session__write_header(perf_stat.session, evsel_list, in __run_perf_stat()973 if (STAT_RECORD && perf_stat.data.is_pipe) in print_counters()[all …]
1501 goto perf_stat; in kvm_cmd_stat()1515 perf_stat: in kvm_cmd_stat()
3862 struct stat perf_stat; in cmd_script() local3879 err = fstat(input, &perf_stat); in cmd_script()3885 if (!perf_stat.st_size) { in cmd_script()