Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-ftrace.c267 int trace_fd; in __cmd_ftrace() local
329 trace_fd = open(trace_file, O_RDONLY); in __cmd_ftrace()
333 if (trace_fd < 0) { in __cmd_ftrace()
338 fcntl(trace_fd, F_SETFL, O_NONBLOCK); in __cmd_ftrace()
339 pollfd.fd = trace_fd; in __cmd_ftrace()
353 int n = read(trace_fd, buf, sizeof(buf)); in __cmd_ftrace()
365 int n = read(trace_fd, buf, sizeof(buf)); in __cmd_ftrace()
373 close(trace_fd); in __cmd_ftrace()