[PATCH 1/2] perf c2c: Change the default coalesce setup

From: Jiri Olsa
Date: Fri Dec 28 2018 - 05:18:51 EST

Joe suggested to have the coalesce default set just to 'iaddr',
because it's easier to read on the (default) c2c report run.

By removing pid from -c option, the c2c report will group all
the relevant pids under instruction address bucket. User can
always run -c pid,iaddr for more grained output on particular

Suggested-by: Joe Mario <jmario@xxxxxxxxxx>
Link: http://lkml.kernel.org/n/tip-lk53c7y9fadu53spuzsn6cij@xxxxxxxxxxxxxx
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
tools/perf/builtin-c2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c
index 686fb60a8e11..321687f8f373 100644
--- a/tools/perf/builtin-c2c.c
+++ b/tools/perf/builtin-c2c.c
@@ -68,7 +68,7 @@ struct c2c_hist_entry {
struct hist_entry he;

-static char const *coalesce_default = "pid,iaddr";
+static char const *coalesce_default = "iaddr";

struct perf_c2c {
struct perf_tool tool;