aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_sched_switch.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-09-29 23:02:39 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:38:55 +0200
commita7b1374333407f409cf8df7e623b12490f073c84 (patch)
treeecd83a07e17b6659896010adc7ceaa56eb08d12b /kernel/trace/trace_sched_switch.c
parenttracing: unified trace buffer (diff)
downloadlinux-dev-a7b1374333407f409cf8df7e623b12490f073c84.tar.xz
linux-dev-a7b1374333407f409cf8df7e623b12490f073c84.zip
ring_buffer: add paranoid check for buffer page
If for some strange reason the buffer_page gets bigger, or the page struct gets smaller, I want to know this ASAP. The best way is to not let the kernel compile. This patch adds code to test the size of the struct buffer_page against the page struct and will cause compile issues if the buffer_page ever gets bigger than the page struct. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
0 files changed, 0 insertions, 0 deletions