Namhyung Kim
e9d848cb65
perf diff: Fix duplicated output column
...
The commit b97511c5bc94 ("perf tools: Add overhead/overhead_children
keys defaults via string") moved initialization of column headers but it
missed to check the sort__mode. As 'perf diff' doesn't call
perf_hpp__init(), the setup_overhead() also should not be called.
Before:
# Baseline Delta Children Overhead Shared Object Symbol
# ........ ....... ........ ........ ................... .......................
#
28.48% -28.47% 28.48% 28.48% [kernel.vmlinux ] [k] intel_idle
11.51% -11.47% 11.51% 11.51% libxul.so [.] 0x0000000001a360f7
3.49% -3.49% 3.49% 3.49% [kernel.vmlinux] [k] generic_exec_single
2.91% -2.89% 2.91% 2.91% libdbus-1.so.3.8.11 [.] 0x000000000000cdc2
2.86% -2.85% 2.86% 2.86% libxcb.so.1.1.0 [.] 0x000000000000c890
2.44% -2.39% 2.44% 2.44% [kernel.vmlinux] [k] perf_event_aux_ctx
After:
# Baseline Delta Shared Object Symbol
# ........ ....... ................... .......................
#
28.48% -28.47% [kernel.vmlinux] [k] intel_idle
11.51% -11.47% libxul.so [.] 0x0000000001a360f7
3.49% -3.49% [kernel.vmlinux] [k] generic_exec_single
2.91% -2.89% libdbus-1.so.3.8.11 [.] 0x000000000000cdc2
2.86% -2.85% libxcb.so.1.1.0 [.] 0x000000000000c890
2.44% -2.39% [kernel.vmlinux] [k] perf_event_aux_ctx
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: <stable@vger.kernel.org> # 4.5+
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: b97511c5bc94 ("perf tools: Add overhead/overhead_children keys defaults via string")
Link: http://lkml.kernel.org/r/1462890384-12486-2-git-send-email-acme@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-05-11 16:55:32 +02:00
..
2016-03-28 17:46:20 -03:00
2016-03-23 15:06:35 -03:00
2016-03-18 13:57:20 -03:00
2016-03-22 10:01:45 -03:00
2016-02-25 10:43:28 -03:00
2015-10-07 19:41:50 -03:00
2016-02-12 11:30:27 -03:00
2016-03-24 12:26:41 -03:00
2015-09-04 13:22:06 -03:00
2016-03-30 18:08:39 -03:00
2016-05-11 16:55:32 +02:00
2015-08-17 11:11:36 -03:00
2016-01-12 12:42:07 -03:00
2016-03-23 12:03:08 -03:00
2015-12-17 14:27:14 -03:00
2016-01-29 17:30:06 -03:00
2015-12-17 14:27:14 -03:00
2016-02-12 10:54:46 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 12:03:08 -03:00
2016-01-08 14:23:02 -03:00
2016-03-23 16:36:07 -03:00
2016-03-23 12:03:07 -03:00
2016-03-15 16:55:16 -07:00
2016-01-29 17:49:54 -03:00
2015-12-17 14:27:14 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 12:03:08 -03:00
2015-12-17 14:27:14 -03:00
2016-03-03 11:10:36 -03:00
2016-03-23 15:21:15 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 12:11:03 -03:00
2016-03-10 16:50:47 -03:00
2016-03-23 12:03:08 -03:00
2016-03-23 15:21:15 -03:00
2016-03-23 12:03:07 -03:00
2015-12-09 13:42:03 -03:00
2016-03-23 15:06:35 -03:00
2016-01-08 12:46:17 -03:00
2014-03-18 18:17:06 -03:00
2016-02-04 15:57:00 -03:00
2016-03-18 13:57:20 -03:00
2016-03-24 12:28:57 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2015-05-08 16:05:08 -03:00
2015-08-06 16:48:27 -03:00
2016-02-26 19:49:16 -03:00
2016-02-18 10:48:44 -03:00