ring-buffer: Froce rb_update_write_stamp() to be inlined
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 24 Nov 2016 01:38:39 +0000 (20:38 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 24 Nov 2016 01:38:39 +0000 (20:38 -0500)
commitbabe3fce95e6490b88a2a21d90eb4ba9884edb82
treee5af8a3bee57e484db28ee831e49d607e25c7881
parent2289d5672f99d36764cbf66e13b5401f700e7043
ring-buffer: Froce rb_update_write_stamp() to be inlined

The function rb_update_write_stamp() is in the hotpath of the ring buffer
recording. Make sure that it is inlined as well. There's not many places
that call it.

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