tools lib traceevent: Add support for extracting trace_clock in report
authorYoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Fri, 1 Nov 2013 21:53:53 +0000 (17:53 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Nov 2013 17:33:12 +0000 (14:33 -0300)
commit1b372ca52a02cc97520c13d79bdfb0a7ff81b772
treee954efc1834b4d76dfc832b7cc946fe9d5e7497f
parentcc03c54296ccbeca5363dfe8f49af42d14960f28
tools lib traceevent: Add support for extracting trace_clock in report

If trace-cmd extracts trace_clock, trace-cmd reads trace_clock data from
the trace.dat and switches outputting format of timestamp for each
trace_clock.

Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20130424231305.14877.86147.stgit@yunodevel
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c
tools/lib/traceevent/event-parse.h