trace_fd          671 samples/bpf/bpf_load.c 	int trace_fd;
trace_fd          673 samples/bpf/bpf_load.c 	trace_fd = open(DEBUGFS "trace_pipe", O_RDONLY, 0);
trace_fd          674 samples/bpf/bpf_load.c 	if (trace_fd < 0)
trace_fd          681 samples/bpf/bpf_load.c 		sz = read(trace_fd, buf, sizeof(buf) - 1);
trace_fd           79 samples/bpf/hbm.c 	int trace_fd;
trace_fd           83 samples/bpf/hbm.c 	trace_fd = open(DEBUGFS "trace_pipe", O_RDONLY, 0);
trace_fd           84 samples/bpf/hbm.c 	if (trace_fd < 0) {
trace_fd          101 samples/bpf/hbm.c 		sz = read(trace_fd, buf, sizeof(buf) - 1);
trace_fd          281 tools/perf/builtin-ftrace.c 	int trace_fd;
trace_fd          351 tools/perf/builtin-ftrace.c 	trace_fd = open(trace_file, O_RDONLY);
trace_fd          355 tools/perf/builtin-ftrace.c 	if (trace_fd < 0) {
trace_fd          360 tools/perf/builtin-ftrace.c 	fcntl(trace_fd, F_SETFL, O_NONBLOCK);
trace_fd          361 tools/perf/builtin-ftrace.c 	pollfd.fd = trace_fd;
trace_fd          375 tools/perf/builtin-ftrace.c 			int n = read(trace_fd, buf, sizeof(buf));
trace_fd          387 tools/perf/builtin-ftrace.c 		int n = read(trace_fd, buf, sizeof(buf));
trace_fd          395 tools/perf/builtin-ftrace.c 	close(trace_fd);
trace_fd          147 tools/perf/builtin-record.c static int record__aio_write(struct aiocb *cblock, int trace_fd,
trace_fd          152 tools/perf/builtin-record.c 	cblock->aio_fildes = trace_fd;
trace_fd          307 tools/perf/builtin-record.c 	int trace_fd = rec->session->data->file.fd;
trace_fd          322 tools/perf/builtin-record.c 	ret = record__aio_write(&(map->aio.cblocks[idx]), trace_fd, aio.data, aio.size, *off);
trace_fd          341 tools/perf/builtin-record.c static off_t record__aio_get_pos(int trace_fd)
trace_fd          343 tools/perf/builtin-record.c 	return lseek(trace_fd, 0, SEEK_CUR);
trace_fd          346 tools/perf/builtin-record.c static void record__aio_set_pos(int trace_fd, off_t pos)
trace_fd          348 tools/perf/builtin-record.c 	lseek(trace_fd, pos, SEEK_SET);
trace_fd          397 tools/perf/builtin-record.c static off_t record__aio_get_pos(int trace_fd __maybe_unused)
trace_fd          402 tools/perf/builtin-record.c static void record__aio_set_pos(int trace_fd __maybe_unused, off_t pos __maybe_unused)
trace_fd          953 tools/perf/builtin-record.c 	int trace_fd = rec->data.file.fd;
trace_fd          967 tools/perf/builtin-record.c 		off = record__aio_get_pos(trace_fd);
trace_fd          988 tools/perf/builtin-record.c 					record__aio_set_pos(trace_fd, off);
trace_fd         1007 tools/perf/builtin-record.c 		record__aio_set_pos(trace_fd, off);