Searched refs:ack_fd (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/tools/perf/util/ |
| H A D | intel-tpebs.c | 95 static int start_perf_record(int control_fd[], int ack_fd[], in start_perf_record() argument 102 scnprintf(buf, sizeof(buf), "--control=fd:%d,%d", control_fd[0], ack_fd[1]); in start_perf_record() 268 int control_fd[2], ack_fd[2], len; in tpebs_start() local 277 if (pipe(ack_fd) < 0) { in tpebs_start() 283 ret = start_perf_record(control_fd, ack_fd, cpumap_buf); in tpebs_start() 303 pollfd.fd = ack_fd[0]; in tpebs_start() 322 ret = read(ack_fd[0], ack_buf, sizeof(ack_buf)); in tpebs_start() 332 close(ack_fd[0]); in tpebs_start() 333 close(ack_fd[1]); in tpebs_start()
|