tracing: Add tracefs file buffer_percentage
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 30 Nov 2018 02:38:42 +0000 (21:38 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:54:08 +0000 (20:54 -0500)
commit03329f9939781041424edd29487b9603a704fcd9
tree4c6966726e5760072c97bedd0c16493bcf29109b
parent2c2b0a78b373908926e4683ea5571332f63c0eb5
tracing: Add tracefs file buffer_percentage

Add a "buffer_percentage" file, that allows users to specify how much of the
buffer (percentage of pages) need to be filled before waking up a task
blocked on a per cpu trace_pipe_raw file.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c
kernel/trace/trace.c
kernel/trace/trace.h