]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: Remove redundant CPU output
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Mar 2016 14:16:28 +0000 (10:16 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 18:08:12 +0000 (15:08 -0300)
commitde498732b741e9627700cff0753d07cbbf096e87
tree2d3b47c983532f3a0e94f0a2e7a45e1d82cb208d
parent3983c6350afe6b9d2ae3530f7189ed97c5e8838a
tools lib traceevent: Remove redundant CPU output

Commit 728218cff7c7 ("tools lib traceevent: Split pevent_print_event()
into specific functionality functions") broke apart the function
pevent_print_event() into three functions.

The first function prints the comm, pid and CPU, the second prints the
timestamp.

But that commit added the printing of the CPU in the timestamp function,
which now causes pevent_print_event() to duplicate the CPU output.

Remove the redundant printing of the record's CPU from the timestamp
function.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Fixes: 728218cff7c7 ("tools lib traceevent: Split pevent_print_event() into specific functionality functions")
Link: http://lkml.kernel.org/r/20160323101628.459375d2@gandalf.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/event-parse.c