summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-11-16 16:07:58 +0530
committerIngo Molnar <mingo@elte.hu>2008-11-17 12:07:27 +0100
commit0c726da983de0704254250ef6495ca152e7abcca (patch)
treefe57e18784cef716c65a1f4daa39da20acd15b4f /kernel/trace/trace.h
parent072b40a15616fe6bea68466e6bffcfcbf5c8f26f (diff)
downloadop-kernel-dev-0c726da983de0704254250ef6495ca152e7abcca.zip
op-kernel-dev-0c726da983de0704254250ef6495ca152e7abcca.tar.gz
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>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 790ea8c..b41d7b4 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -470,9 +470,7 @@ enum trace_iterator_flags {
TRACE_ITER_SCHED_TREE = 0x200,
TRACE_ITER_PRINTK = 0x400,
TRACE_ITER_PREEMPTONLY = 0x800,
-#ifdef CONFIG_BRANCH_TRACER
TRACE_ITER_BRANCH = 0x1000,
-#endif
TRACE_ITER_ANNOTATE = 0x2000,
};
OpenPOWER on IntegriCloud