]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tracing: branch tracer, fix writing to trace/trace_options
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 16 Nov 2008 10:37:58 +0000 (16:07 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 Nov 2008 11:07:27 +0000 (12:07 +0100)
commit0c726da983de0704254250ef6495ca152e7abcca
treefe57e18784cef716c65a1f4daa39da20acd15b4f
parent072b40a15616fe6bea68466e6bffcfcbf5c8f26f
tracing: branch tracer, fix writing to trace/trace_options

Impact: fix trace_options behavior

writing to trace/trace_options use the index of the array
to find the value of the flag. With branch tracer flag
defined conditionally, this breaks writing to trace_options
with branch tracer disabled.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
kernel/trace/trace.h