diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-11-23 11:29:58 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-11-23 11:29:58 -0500 |
commit | 3e9a8aadca4807b4eadd33a50014c9b2767a4f1f (patch) | |
tree | 464645f993a63256266c1d89ea1fee82f21b8f1a /kernel/trace/ring_buffer.c | |
parent | 7d436400223bb46e9f88e6bba6f8d867acf0d82c (diff) | |
download | talos-op-linux-3e9a8aadca4807b4eadd33a50014c9b2767a4f1f.tar.gz talos-op-linux-3e9a8aadca4807b4eadd33a50014c9b2767a4f1f.zip |
tracing: Create a always_inlined __trace_buffer_lock_reserve()
As Andi Kleen pointed out in the Link below, the trace events has quite a
bit of code execution. A lot of that happens to be calling functions, where
some of them should simply be inlined. One of these functions happens to be
trace_buffer_lock_reserve() which is also a global, but it is used
throughout the file it is defined in. Create a __trace_buffer_lock_reserve()
that is always inlined that the file can benefit from.
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>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions