summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.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_branch.c
parentc032ef64d680717e4e8ce3da65da6419a35f8a2c (diff)
downloadlinux-5fd73f862468280d4cbb5ba4321502f911f9f89a.tar.gz
linux-5fd73f862468280d4cbb5ba4321502f911f9f89a.tar.bz2
linux-5fd73f862468280d4cbb5ba4321502f911f9f89a.zip
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_branch.c')
-rw-r--r--kernel/trace/trace_branch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c
index c2e68d440c4d..aaa0755268b9 100644
--- a/kernel/trace/trace_branch.c
+++ b/kernel/trace/trace_branch.c
@@ -159,7 +159,6 @@ static enum print_line_t trace_branch_print(struct trace_iterator *iter,
static struct trace_event trace_branch_event = {
.type = TRACE_BRANCH,
.trace = trace_branch_print,
- .latency_trace = trace_branch_print,
};
static struct tracer branch_trace __read_mostly =