diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-13 06:54:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 06:57:22 -0400 |
commit | e9a22d1fb94050b7d600019c32e6b672d539054b (patch) | |
tree | 1e062f00e3fe7a3ace7b0c6b930ed6cdacd37166 /kernel/trace/trace_selftest.c | |
parent | 321bb5e1ac461c04b6a93f795010d6eb01d8c5ca (diff) |
x86, bts: cleanups
Impact: cleanup, no code changed
Cc: Markus Metzger <markus.t.metzger@intel.com>
LKML-Reference: <20090313104218.A30096@sedona.ch.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r-- | kernel/trace/trace_selftest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 3c7b797d0d28..b91091267067 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c | |||
@@ -189,6 +189,7 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace, | |||
189 | #else | 189 | #else |
190 | # define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; }) | 190 | # define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; }) |
191 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 191 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
192 | |||
192 | /* | 193 | /* |
193 | * Simple verification test of ftrace function tracer. | 194 | * Simple verification test of ftrace function tracer. |
194 | * Enable ftrace, sleep 1/10 second, and then read the trace | 195 | * Enable ftrace, sleep 1/10 second, and then read the trace |
@@ -698,10 +699,10 @@ int | |||
698 | trace_selftest_startup_hw_branches(struct tracer *trace, | 699 | trace_selftest_startup_hw_branches(struct tracer *trace, |
699 | struct trace_array *tr) | 700 | struct trace_array *tr) |
700 | { | 701 | { |
701 | unsigned long count; | ||
702 | int ret; | ||
703 | struct trace_iterator iter; | 702 | struct trace_iterator iter; |
704 | struct tracer tracer; | 703 | struct tracer tracer; |
704 | unsigned long count; | ||
705 | int ret; | ||
705 | 706 | ||
706 | if (!trace->open) { | 707 | if (!trace->open) { |
707 | printk(KERN_CONT "missing open function..."); | 708 | printk(KERN_CONT "missing open function..."); |