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-01-08 12:35:46 -03:00
2016-03-03 16:13:00 +01:00
2016-03-03 11:10:37 -03:00
2015-12-07 18:13:00 -03:00
2016-03-23 12:03:04 -03:00
2016-01-29 17:14:30 -03:00
2016-03-23 12:03:04 -03:00
2016-02-22 14:37:21 -03:00
2016-02-22 12:48:50 -03:00
2015-11-18 17:51:04 -03:00
2015-11-18 17:51:04 -03:00
2016-03-23 17:39:19 -03:00
2016-03-23 12:03:07 -03:00
2016-02-12 10:54:47 -03:00
2016-03-23 17:39:19 -03:00
2016-02-19 19:15:01 -03:00
2016-03-23 15:06:35 -03:00
2015-12-17 14:27:14 -03:00
2016-03-23 15:06:35 -03:00
2015-06-25 12:28:35 -03:00
2016-03-23 15:06:35 -03:00
2016-02-26 19:49:16 -03:00
2015-08-05 16:44:02 -03:00
2015-05-27 12:21:43 -03:00
2016-02-12 10:54:46 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-01-26 16:08:36 -03:00
2016-01-26 16:08:36 -03:00
2016-02-24 20:21:12 -03:00
2016-03-23 12:03:04 -03:00
2015-04-02 13:18:52 -03:00
2016-03-23 12:03:08 -03:00
2015-04-02 13:18:43 -03:00
2016-02-24 11:38:01 -03:00
2016-02-16 17:12:59 -03:00
2016-02-05 09:46:45 -03:00
2016-02-05 09:46:45 -03:00
2016-01-26 11:52:43 -03:00
2016-03-23 12:03:04 -03:00
2016-03-23 16:53:05 -03:00
2016-03-23 15:06:35 -03:00
2016-02-16 17:13:00 -03:00
2016-02-16 17:13:00 -03:00
2016-03-29 20:03:56 -03:00
2016-03-23 12:03:08 -03:00
2016-02-26 19:50:01 -03:00
2016-02-22 12:30:50 -03:00
2016-03-23 12:03:07 -03:00
2016-03-09 10:31:02 -03:00
2016-02-05 12:33:09 -03:00
2016-02-05 12:33:09 -03:00
2016-03-30 18:12:06 -03:00
2016-01-08 12:46:17 -03:00
2016-03-11 13:45:04 -03:00
2016-03-23 12:03:04 -03:00
2016-02-26 19:49:16 -03:00
2015-12-14 12:30:37 -03:00
2016-03-23 12:03:04 -03:00
2016-03-23 12:03:04 -03:00
2016-03-29 20:03:56 -03:00
2015-08-21 11:34:10 -03:00
2016-04-18 11:00:56 -03:00
2015-08-24 17:46:43 -03:00
2016-03-23 15:06:35 -03:00
2016-03-29 20:03:56 -03:00
2016-02-05 09:46:45 -03:00
2016-01-29 17:49:54 -03:00
2016-03-23 17:42:21 -03:00
2016-03-23 15:06:35 -03:00
2015-03-21 14:53:40 -03:00
2016-03-23 12:03:07 -03:00
2016-03-23 12:03:04 -03:00
2015-12-09 13:42:00 -03:00
2015-09-30 18:34:25 -03:00
2016-02-24 10:32:11 -03:00
2016-02-24 10:32:11 -03:00
2015-08-24 17:16:22 -03:00
2015-03-31 17:52:32 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 21:02:17 -03:00
2016-02-22 13:02:44 -03:00
2016-03-23 15:06:35 -03:00
2016-02-22 14:37:21 -03:00
2016-03-08 10:11:16 +01:00
2015-12-17 14:27:14 -03:00
2015-08-31 18:01:33 -03:00
2016-03-23 15:27:33 -03:00
2015-09-30 18:34:27 -03:00
2015-09-30 18:34:27 -03:00
2016-03-09 10:42:22 -03:00
2015-08-06 16:49:01 -03:00
2016-03-23 16:53:05 -03:00
2016-03-23 15:06:35 -03:00
2015-11-11 18:41:32 -03:00
2015-09-04 12:43:44 -03:00
2016-03-23 16:53:05 -03:00
2016-03-23 15:06:35 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-01-08 12:35:46 -03:00
2015-10-07 19:41:50 -03:00
2016-03-23 15:06:35 -03:00
2015-08-17 11:08:37 -03:00
2016-03-23 12:03:07 -03:00
2015-12-10 16:28:58 -03:00
2016-02-29 11:18:25 -03:00
2016-05-11 16:55:32 +02:00
2016-03-10 16:47:19 -03:00
2015-09-02 16:30:46 -03:00
2016-03-23 12:03:04 -03:00
2016-02-04 08:57:44 +01:00
2016-03-03 11:10:40 -03:00
2016-03-23 17:09:53 -03:00
2016-03-23 17:09:53 -03:00
2015-05-04 12:43:54 -03:00
2015-05-04 12:43:54 -03:00
2015-11-18 17:51:02 -03:00
2016-01-12 12:42:07 -03:00
2016-01-12 12:42:07 -03:00
2015-06-25 15:15:50 -03:00
2016-03-23 15:06:35 -03:00
2016-03-18 14:23:59 -03:00
2015-10-28 10:02:00 -03:00
2016-02-12 10:54:47 -03:00
2016-03-23 15:06:35 -03:00
2015-03-24 12:08:30 -03:00
2015-12-09 13:42:02 -03:00
2015-12-09 13:42:02 -03:00
2015-12-17 14:38:16 -03:00
2015-12-17 14:38:16 -03:00
2015-06-19 16:03:33 -03:00
2015-06-19 16:03:33 -03:00
2015-12-14 12:08:55 -03:00
2015-05-18 10:17:33 -03:00
2015-12-17 15:10:16 -03:00
2015-09-04 12:00:45 -03:00
2015-12-11 11:52:24 -08:00
2015-07-23 22:51:11 -03:00
2015-04-02 13:18:41 -03:00
2016-02-16 17:12:56 -03:00
2016-01-06 20:11:15 -03:00
2016-03-08 10:11:18 +01:00
2016-01-08 14:16:57 -03:00
2015-11-23 18:31:13 -03:00
2016-01-08 14:16:34 -03:00
2016-03-23 12:32:31 -03:00
2016-02-24 11:38:01 -03:00
2016-03-23 15:27:33 -03:00
2015-07-07 11:05:08 -03:00
2015-05-29 12:43:44 -03:00
2016-03-23 15:27:33 -03:00
2015-06-16 10:34:39 -03:00
2015-06-16 10:34:39 -03:00