ftrace-graph: show latency-format on print_graph_irq()
authorDaniel Bristot de Oliveira <bristot@redhat.com>
Thu, 6 Nov 2014 17:25:09 +0000 (15:25 -0200)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Nov 2014 12:56:02 +0000 (07:56 -0500)
commit678f845ed0f40c29a74cd8dd60c48f2a6db44dc9
tree0362f242f3a87ec3ba405c3040232177a371b9c8
parent1177e4364154a00baf2c9eb72fd960f0c5a8de84
ftrace-graph: show latency-format on print_graph_irq()

On the function_graph tracer, the print_graph_irq() function prints a
trace line with the flag ==========> on an irq handler entry, and the
flag <========== on an irq handler return.

But when the latency-format is enable, it is not printing the
latency-format flags, causing the following error in the trace output:

 0)   ==========> |
 0)  d...              |  smp_apic_timer_interrupt() {

This patch fixes this issue by printing the latency-format flags when
it is enable.

Link: http://lkml.kernel.org/r/7c2e226dac20c940b6242178fab7f0e3c9b5ce58.1415233316.git.bristot@redhat.com
Reviewed-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_functions_graph.c