Home
last modified time | relevance | path

Searched refs:input_pipe (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/bench/
H A Dinject-buildid.c41 int input_pipe[2]; member
152 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_attr()
216 return writen(data->input_pipe[1], &event, len); in synthesize_mmap()
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()
[all …]