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_hw_branches.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_hw_branches.c')
-rw-r--r-- | kernel/trace/trace_hw_branches.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/trace_hw_branches.c b/kernel/trace/trace_hw_branches.c index 4ca82700c04e..8b2109a6c61c 100644 --- a/kernel/trace/trace_hw_branches.c +++ b/kernel/trace/trace_hw_branches.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * h/w branch tracer for x86 based on bts | 2 | * h/w branch tracer for x86 based on BTS |
3 | * | 3 | * |
4 | * Copyright (C) 2008-2009 Intel Corporation. | 4 | * Copyright (C) 2008-2009 Intel Corporation. |
5 | * Markus Metzger <markus.t.metzger@gmail.com>, 2008-2009 | 5 | * Markus Metzger <markus.t.metzger@gmail.com>, 2008-2009 |
@@ -15,8 +15,8 @@ | |||
15 | 15 | ||
16 | #include <asm/ds.h> | 16 | #include <asm/ds.h> |
17 | 17 | ||
18 | #include "trace.h" | ||
19 | #include "trace_output.h" | 18 | #include "trace_output.h" |
19 | #include "trace.h" | ||
20 | 20 | ||
21 | 21 | ||
22 | #define BTS_BUFFER_SIZE (1 << 13) | 22 | #define BTS_BUFFER_SIZE (1 << 13) |
@@ -197,10 +197,10 @@ static void bts_trace_print_header(struct seq_file *m) | |||
197 | 197 | ||
198 | static enum print_line_t bts_trace_print_line(struct trace_iterator *iter) | 198 | static enum print_line_t bts_trace_print_line(struct trace_iterator *iter) |
199 | { | 199 | { |
200 | unsigned long symflags = TRACE_ITER_SYM_OFFSET; | ||
200 | struct trace_entry *entry = iter->ent; | 201 | struct trace_entry *entry = iter->ent; |
201 | struct trace_seq *seq = &iter->seq; | 202 | struct trace_seq *seq = &iter->seq; |
202 | struct hw_branch_entry *it; | 203 | struct hw_branch_entry *it; |
203 | unsigned long symflags = TRACE_ITER_SYM_OFFSET; | ||
204 | 204 | ||
205 | trace_assign_type(it, entry); | 205 | trace_assign_type(it, entry); |
206 | 206 | ||