]> Git Repo - linux.git/commit - include/trace/events/sched.h
tracing: Restore original format of sched events
authorLi Zefan <[email protected]>
Thu, 26 Nov 2009 07:08:01 +0000 (15:08 +0800)
committerIngo Molnar <[email protected]>
Thu, 26 Nov 2009 08:14:05 +0000 (09:14 +0100)
commit470dda7417f284b9cfc96560b2acd98df63798a2
treec24bd04ea87975a56d34f3a86c2d32c9350bc6a0
parentb5eb34c3592545c756e50d882c08417eb60740a7
tracing: Restore original format of sched events

The original format for sched_stat_iowait and sched_stat_sleep:

  $ cat events/sched/sched_stat_iowait/format
  ...
  print fmt: "comm=%s pid=%d delay=%Lu [ns]", ...
  $ cat events/sched/sched_stat_sleep/format
  ...
  print fmt: "comm=%s pid=%d delay=%Lu [ns]", ...

But commit commit 75ec29ab848a7e92a41aaafaeb33d1afbc839be4
("tracing: Convert some sched trace events to DEFINE_EVENT and
_PRINT") broke the format:

  $ cat events/sched/sched_stat_iowait/format
  print fmt: "task: %s:%d iowait: %Lu [ns]", ...
  $ cat events/sched/sched_stat_sleep/format
  print fmt: "task: %s:%d sleep: %Lu [ns]", ...

No change in functionality.

Signed-off-by: Li Zefan <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <4B0E2951.9050800@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <[email protected]>
include/trace/events/sched.h
This page took 0.055014 seconds and 4 git commands to generate.