aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-04 21:42:04 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-03-04 21:42:04 -0500
commit5fd73f862468280d4cbb5ba4321502f911f9f89a (patch)
tree3c96f61dea5280784560a8b9252fe13a84149421 /kernel/trace/trace.c
parentc032ef64d680717e4e8ce3da65da6419a35f8a2c (diff)
tracing: remove extra latency_trace method from trace structure
Impact: clean up The trace and latency_trace function pointers are identical for every tracer but the function tracer. The differences in the function tracer are trivial (latency output puts paranthesis around parent). This patch removes the latency_trace pointer and all prints will now just use the trace output function pointer. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 55fcbb567950..21b89ecb8480 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -1485,7 +1485,7 @@ static enum print_line_t print_lat_fmt(struct trace_iterator *iter)
1485 } 1485 }
1486 1486
1487 if (event) 1487 if (event)
1488 return event->latency_trace(iter, sym_flags); 1488 return event->trace(iter, sym_flags);
1489 1489
1490 if (!trace_seq_printf(s, "Unknown type %d\n", entry->type)) 1490 if (!trace_seq_printf(s, "Unknown type %d\n", entry->type))
1491 goto partial; 1491 goto partial;