Home
last modified time | relevance | path

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

/linux-4.1.27/samples/bpf/
Dbpf_load.c296 int trace_fd; in read_trace_pipe() local
298 trace_fd = open(DEBUGFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe()
299 if (trace_fd < 0) in read_trace_pipe()
306 sz = read(trace_fd, buf, sizeof(buf)); in read_trace_pipe()
/linux-4.1.27/Documentation/trace/
Dftrace.txt369 if (trace_fd < 0)
376 write(trace_fd, buf, n);
381 trace_fd = open("trace_marker", WR_ONLY);
1707 int trace_fd;
1711 trace_fd = open(tracing_file("tracing_on"), O_WRONLY);
1714 write(trace_fd, "0", 1);