]> asedeno.scripts.mit.edu Git - linux.git/commit
tracing: Change default buffer_percent to 50
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 30 Nov 2018 03:36:47 +0000 (22:36 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:54:08 +0000 (20:54 -0500)
commita7b1d74e872a4299e1aef66a648316c9c23e5ab4
tree0288f49f37d1a8ed4cbde159669f44bd70c74d4c
parent03329f9939781041424edd29487b9603a704fcd9
tracing: Change default buffer_percent to 50

After running several tests, it appears that having the reader wait till
half the buffer is full before starting to read (and causing its own events
to fill up the ring buffer constantly), works well. It keeps trace-cmd (the
main user of this interface) from dominating the traces it records.

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