summaryrefslogtreecommitdiffstats
path: root/kernel/trace/blktrace.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/blktrace.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/blktrace.c')
-rw-r--r--kernel/trace/blktrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
index e82cb9e..e39679a 100644
--- a/kernel/trace/blktrace.c
+++ b/kernel/trace/blktrace.c
@@ -1231,7 +1231,6 @@ static struct tracer blk_tracer __read_mostly = {
static struct trace_event trace_blk_event = {
.type = TRACE_BLK,
.trace = blk_trace_event_print,
- .latency_trace = blk_trace_event_print,
.binary = blk_trace_event_print_binary,
};
OpenPOWER on IntegriCloud