summaryrefslogtreecommitdiffstats
path: root/samples/trace_events
diff options
context:
space:
mode:
authorSteven Rostedt2009-05-06 21:30:07 +0200
committerSteven Rostedt2009-05-06 21:30:07 +0200
commit6634ff26cce2da04e5c2a5481bcb8888e7d01786 (patch)
tree64efca734e6cb10ff7cb19086e8f83b92eb40fd1 /samples/trace_events
parentring-buffer: check for failed allocation in ring buffer benchmark (diff)
downloadkernel-qcow2-linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.tar.gz
kernel-qcow2-linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.tar.xz
kernel-qcow2-linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.zip
ring-buffer: make moving the tail page a separate function
Ingo Molnar thought the code would be cleaner if we used a function call instead of a goto for moving the tail page. After implementing this, it seems that gcc still inlines the result and the output is pretty much the same. Since this is considered a cleaner approach, might as well implement it. [ Impact: code clean up ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions