tracing: consolidate print_lat_fmt and print_trace_fmt
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 02:57:29 +0000 (21:57 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 02:57:29 +0000 (21:57 -0500)
commit27d48be84477d2f0a2e2ac3738a3971dece631d5
tree92d4b896df1102b0aaa3c01d71fdecd75faa601f
parent5fd73f862468280d4cbb5ba4321502f911f9f89a
tracing: consolidate print_lat_fmt and print_trace_fmt

Impact: clean up

Both print_lat_fmt and print_trace_fmt do pretty much the same thing
except for one different function call. This patch consolidates the
two functions and adds an if statement to perform the difference.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c