tracing: Fix power tracer header
authorZhaolei <zhaolei@cn.fujitsu.com>
Mon, 13 Apr 2009 07:23:53 +0000 (15:23 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Apr 2009 21:39:57 +0000 (23:39 +0200)
commita3d03ecaf9fe722bf96e4ef4a2f5e42ef652ddeb
treef845537695b6164b2feb9f4c6d356174a602001d
parent80a04d3f2f94fb68b5df05e3ac6697130bc3467a
tracing: Fix power tracer header

Before patch:
  # tracer: power
  #
  #           TASK-PID    CPU#    TIMESTAMP  FUNCTION
  #              | |       |          |         |
  [  676.875865889] CSTATE: Going to C1 on cpu 0 for 0.005911463
  [  676.882938805] CSTATE: Going to C1 on cpu 0 for 0.104796532
  ...

After patch:
  # tracer: power
  #
  #   TIMESTAMP      STATE  EVENT
  #       |            |      |
  [  676.875865889] CSTATE: Going to C1 on cpu 0 for 0.005911463
  [  676.882938805] CSTATE: Going to C1 on cpu 0 for 0.104796532
  ...

v2: Use seq_puts instead of seq_printf

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <49E2E889.5000903@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_power.c