]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a3d9f6bebdf5e44e350a374031fb8a78570ea4c
tree92d4b896df1102b0aaa3c01d71fdecd75faa601f
parent7bf172bf2c60ed72712d2fd8f0c6922061a789f9
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