]> git.karo-electronics.de Git - linux-beck.git/commit
ring-buffer: Force rb_end_commit() and rb_set_commit_to_write() inline
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 24 Nov 2016 01:42:31 +0000 (20:42 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 24 Nov 2016 01:42:31 +0000 (20:42 -0500)
commit38e11df134297ea3860c7aad8263ece27db01308
treec800e9fb51d142fa2b1a56935a2d387fe3a935e2
parentbabe3fce95e6490b88a2a21d90eb4ba9884edb82
ring-buffer: Force rb_end_commit() and rb_set_commit_to_write() inline

Both rb_end_commit() and rb_set_commit_to_write() are in the fast path of
the ring buffer recording. Make sure they are always inlined.

Link: http://lkml.kernel.org/r/20161121183700.GW26852@two.firstfloor.org
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c