diff options
| author | Robert Richter <robert.richter@amd.com> | 2009-07-31 14:58:04 +0200 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-09 23:54:02 -0400 |
| commit | d8eeb2d3b26d25c44c10f28430e2157a2d20bd1d (patch) | |
| tree | 8308f1be1706a6605387289683e7b11dc40ecda6 /kernel/trace/trace_functions_graph.c | |
| parent | Merge branch 'tracing/core' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | linux-d8eeb2d3b26d25c44c10f28430e2157a2d20bd1d.tar.gz linux-d8eeb2d3b26d25c44c10f28430e2157a2d20bd1d.zip | |
ring-buffer: consolidate interface of rb_buffer_peek()
rb_buffer_peek() operates with struct ring_buffer_per_cpu *cpu_buffer
only. Thus, instead of passing variables buffer and cpu it is better
to use cpu_buffer directly. This also reduces the risk of races since
cpu_buffer is not calculated twice.
Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1249045084-3028-1-git-send-email-robert.richter@amd.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
