linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] trace-cmd: Support a raw format for outputting timestamp
@ 2013-04-05  1:54 Yoshihiro YUNOMAE
  2013-04-05  1:54 ` [PATCH 1/2] trace-cmd: Define general functions for outputting/inputting saved_cmdlines Yoshihiro YUNOMAE
  2013-04-05  1:54 ` [PATCH 2/2] trace-cmd: Support trace_clock extraction Yoshihiro YUNOMAE
  0 siblings, 2 replies; 6+ messages in thread
From: Yoshihiro YUNOMAE @ 2013-04-05  1:54 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Hidehiro Kawai, Masami Hiramatsu, linux-kernel, yrl.pp-manager.tt

Hi Steven,

This patch series extracts the trace_clock file for switching outputting format
of timestamp because in tsc or counter modes, trace-cmd should output timestamp
not in the sec.usec format but in the raw format.

For example, we will show results in trace-cmd report mode as follows by
applying this patch series:

<for local or global mode>
            bash-9022  [000] 34984.109846: sched_wakeup:         comm=migration/3 pid=23 prio=0 success=1 target_cpu=003
          <idle>-0     [002] 34984.109847: cpu_idle:             state=4294967295 cpu_id=2
            bash-9022  [000] 34984.109848: sched_switch:         prev_comm=bash prev_pid=9022 prev_prio=120 prev_state=R ==> next_comm=migration/0 next_pid=8 next_prio=0
          <idle>-0     [002] 34984.109849: sched_switch:         prev_comm=swapper/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=migration/2 next_pid=18 next_prio=0

<for tsc or counter mode>
            bash-9022  [000] 34984109846: sched_wakeup:         comm=migration/3 pid=23 prio=0 success=1 target_cpu=003
          <idle>-0     [002] 34984109847: cpu_idle:             state=4294967295 cpu_id=2
            bash-9022  [000] 34984109848: sched_switch:         prev_comm=bash prev_pid=9022 prev_prio=120 prev_state=R ==> next_comm=migration/0 next_pid=8 next_prio=0
          <idle>-0     [002] 34984109849: sched_switch:         prev_comm=swapper/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=migration/2 next_pid=18 next_prio=0

Would you apply this patch series for trace-cmd?

Thank you,

---

Yoshihiro YUNOMAE (2):
      trace-cmd: Define general functions for outputting/inputting saved_cmdlines
      trace-cmd: Support trace_clock extraction


 event-parse.c  |   44 ++++++++++++++++++++++++++++--------
 event-parse.h  |    3 ++
 trace-cmd.h    |    1 +
 trace-input.c  |   61 ++++++++++++++++++++++++++++++++++++++++----------
 trace-output.c |   68 ++++++++++++++++++++++++++++++++++----------------------
 trace-util.c   |   26 +++++++++++++++++++++
 6 files changed, 153 insertions(+), 50 deletions(-)

-- 
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: yoshihiro.yunomae.ez@hitachi.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-11 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05  1:54 [PATCH 0/2] trace-cmd: Support a raw format for outputting timestamp Yoshihiro YUNOMAE
2013-04-05  1:54 ` [PATCH 1/2] trace-cmd: Define general functions for outputting/inputting saved_cmdlines Yoshihiro YUNOMAE
2013-04-05  1:54 ` [PATCH 2/2] trace-cmd: Support trace_clock extraction Yoshihiro YUNOMAE
2013-04-09 16:00   ` Steven Rostedt
2013-04-09 16:07     ` Steven Rostedt
2013-04-11 10:06     ` Yoshihiro YUNOMAE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).