summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-5fd73f862468280d4cbb5ba4321502f911f9f89a.zip
op-kernel-dev-5fd73f862468280d4cbb5ba4321502f911f9f89a.tar.gz
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 55fcbb5..21b89ecb 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)
}
if (event)
- return event->latency_trace(iter, sym_flags);
+ return event->trace(iter, sym_flags);
if (!trace_seq_printf(s, "Unknown type %d\n", entry->type))
goto partial;
OpenPOWER on IntegriCloud