Lines Matching refs:input_pipe
41 int input_pipe[2]; member
152 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_attr()
170 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_fork()
201 if (writen(data->input_pipe[1], &event, len - bench_id_hdr_size) < 0) in synthesize_mmap()
208 if (writen(data->input_pipe[1], id_hdr_ptr, bench_id_hdr_size) < 0) in synthesize_mmap()
216 return writen(data->input_pipe[1], &event, len); in synthesize_mmap()
235 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_sample()
245 return writen(data->input_pipe[1], &header, header.size); in synthesize_flush()
285 if (pipe(data->input_pipe) < 0) in setup_injection()
299 close(data->input_pipe[1]); in setup_injection()
303 dup2(data->input_pipe[0], STDIN_FILENO); in setup_injection()
304 close(data->input_pipe[0]); in setup_injection()
337 close(data->input_pipe[0]); in setup_injection()
355 if (perf_header__write_pipe(data->input_pipe[1]) < 0) in inject_build_id()
385 close(data->input_pipe[1]); in inject_build_id()