kernel-ark/kernel/trace
Steven Rostedt aa1e0e3bcf ring_buffer: map to cpu not page
My original patch had a compile bug when NUMA was configured. I
referenced cpu when it should have been cpu_buffer->cpu.

Ingo quickly fixed this bug by replacing cpu with 'i' because that
was the loop counter. Unfortunately, the 'i' was the counter of
pages, not CPUs. This caused a crash when the number of pages allocated
for the buffers exceeded the number of pages, which would usually
be the case.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:39:15 +02:00
..
ftrace.c ftrace: warn on failure to disable mcount callers 2008-10-14 10:38:11 +02:00
Kconfig tracing: unified trace buffer 2008-10-14 10:38:54 +02:00
Makefile tracing: unified trace buffer 2008-10-14 10:38:54 +02:00
ring_buffer.c ring_buffer: map to cpu not page 2008-10-14 10:39:15 +02:00
trace_boot.c tracing/fastboot: get the initcall name before it disappears 2008-10-14 10:39:12 +02:00
trace_functions.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_irqsoff.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_mmiotrace.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_nop.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_sched_switch.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_sched_wakeup.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_stack.c ftrace: stack trace add indexes 2008-10-14 10:36:28 +02:00
trace_sysprof.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace.c ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00
trace.h ftrace: preempt disable over interrupt disable 2008-10-14 10:39:09 +02:00