Home
last modified time | relevance | path

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

/linux-4.4.14/samples/bpf/
Dbpf_load.c329 int trace_fd; in read_trace_pipe() local
331 trace_fd = open(DEBUGFS "trace_pipe", O_RDONLY, 0); in read_trace_pipe()
332 if (trace_fd < 0) in read_trace_pipe()
339 sz = read(trace_fd, buf, sizeof(buf)); in read_trace_pipe()
/linux-4.4.14/Documentation/trace/
Dftrace.txt380 if (trace_fd < 0)
387 write(trace_fd, buf, n);
392 trace_fd = open("trace_marker", WR_ONLY);
1720 int trace_fd;
1724 trace_fd = open(tracing_file("tracing_on"), O_WRONLY);
1727 write(trace_fd, "0", 1);