aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-02-05 01:13:36 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-05 08:35:46 -0500
commit97e5b191ae7dc0f4f5b82b9db29782928b103b4d (patch)
tree4281b1d95a437ab6fd2a0ff451888744f9541f16 /kernel/trace/trace_branch.c
parent268ccda0cb4d1292029d07ee3dbd07117baf6ecb (diff)
trace_branch: Remove unused function
Impact: cleanup Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r--kernel/trace/trace_branch.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c
index 297deb202b68..027e83690615 100644
--- a/kernel/trace/trace_branch.c
+++ b/kernel/trace/trace_branch.c
@@ -143,23 +143,6 @@ static void branch_trace_reset(struct trace_array *tr)
143 stop_branch_trace(tr); 143 stop_branch_trace(tr);
144} 144}
145 145
146static int
147trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags)
148{
149 struct print_entry *field;
150
151 trace_assign_type(field, entry);
152
153 if (seq_print_ip_sym(s, field->ip, flags))
154 goto partial;
155
156 if (trace_seq_printf(s, ": %s", field->buf))
157 goto partial;
158
159 partial:
160 return TRACE_TYPE_PARTIAL_LINE;
161}
162
163static enum print_line_t trace_branch_print(struct trace_iterator *iter, 146static enum print_line_t trace_branch_print(struct trace_iterator *iter,
164 int flags) 147 int flags)
165{ 148{