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)
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>

No differences found