diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-05-12 04:11:05 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-05-12 05:33:06 +0200 |
commit | 168b6b1d0594c7866caa73b12f3b8d91075695f2 (patch) | |
tree | 2dd8d0e8b6ffc87360180c878a87b3632625b3f0 /arch/x86/kernel/stacktrace.c | |
parent | ring-buffer: use internal time stamp function (diff) | |
download | linux-168b6b1d0594c7866caa73b12f3b8d91075695f2.tar.xz linux-168b6b1d0594c7866caa73b12f3b8d91075695f2.zip |
ring-buffer: move code around to remove some branches
This is a bit of micro-optimizations. But since the ring buffer is used
in tracing every function call, it is an extreme hot path. Every nanosecond
counts.
This change shows over 5% improvement in the ring-buffer-benchmark.
[ Impact: more efficient code ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions