tracing: Fix branch tracer header
authorZhaolei <zhaolei@cn.fujitsu.com>
Mon, 13 Apr 2009 08:02:34 +0000 (16:02 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Apr 2009 00:30:36 +0000 (02:30 +0200)
commit557055bebe9212dfa6b9f5df811dfd0dac77ec55
treebd396effa5011a2fc687a3cd887f8235a1d1977e
parenta3d03ecaf9fe722bf96e4ef4a2f5e42ef652ddeb
tracing: Fix branch tracer header

Before patch:

  # tracer: branch
  #
  #           TASK-PID    CPU#    TIMESTAMP  FUNCTION
  #              | |       |          |         |
             <...>-2981  [000] 24008.872738: [  ok  ] trace_irq_handler_exit:irq_event_types.h:41
             <...>-2981  [000] 24008.872742: [  ok  ] note_interrupt:spurious.c:229
  ...

After patch:

  # tracer: branch
  #
  #           TASK-PID    CPU#    TIMESTAMP  CORRECT  FUNC:FILE:LINE
  #              | |       |          |         |       |
             <...>-2985  [000] 26329.142970: [  ok  ] slab_free:slub.c:1776
             <...>-2985  [000] 26329.142972: [  ok  ] trace_kmem_cache_free:kmem_event_types.h:191
  ...

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <49E2F19A.3040006@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_branch.c