tracing: consolidate code between trace_output.c and trace_function_graph.c
authorSteven Rostedt <srostedt@redhat.com>
Fri, 11 Sep 2009 18:24:13 +0000 (14:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Sep 2009 18:24:13 +0000 (14:24 -0400)
commitf81c972d27c36729e65d4a815e3d7b782a540bad
treecc3ad7478f09e47914ffa9b5b9d9c1a7b990c60b
parent637e7e864103a7a68c1ce43ada27dfc25c0d113f
tracing: consolidate code between trace_output.c and trace_function_graph.c

Both trace_output.c and trace_function_graph.c do basically the same
thing to handle the printing of the latency-format. This patch moves
the code into one function that both can use.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_functions_graph.c
kernel/trace/trace_output.c
kernel/trace/trace_output.h