tracing, function_graph: Merge overhead and duration display functions
commitffeb80fc30acbf6bd51cb47a1815f621a9d017dc
authorJiri Olsa <jolsa@redhat.com>
Fri, 3 Jun 2011 14:58:48 +0000 (3 16:58 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Jun 2011 02:48:47 +0000 (14 22:48 -0400)
tree0291039ad5bc7f652d15157616ea2a77b7294638
parent321e68b095addc473ca52ced9acfa59be88f76e6
tracing, function_graph: Merge overhead and duration display functions

Functions print_graph_overhead() and print_graph_duration() displays
data for one field - DURATION.

I merged them into single function print_graph_duration(),
and added a way to display the empty parts of the field.

This way the print_graph_irq() function can use this column to display
the IRQ signs if needed and the DURATION field details stays inside
the print_graph_duration() function.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1307113131-10045-3-git-send-email-jolsa@redhat.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_functions_graph.c