diff options
author | 2016-11-23 11:29:58 -0500 | |
---|---|---|
committer | 2016-11-23 11:29:58 -0500 | |
commit | 3e9a8aadca4807b4eadd33a50014c9b2767a4f1f (patch) | |
tree | 464645f993a63256266c1d89ea1fee82f21b8f1a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tracing: Add error checks to creation of event files (diff) | |
download | linux-dev-3e9a8aadca4807b4eadd33a50014c9b2767a4f1f.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions