perf tools: Enable --children option by default
authorNamhyung Kim <namhyung@kernel.org>
Tue, 24 Dec 2013 07:19:25 +0000 (16:19 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:35:08 +0000 (14:35 +0200)
Now perf top and perf report will show children column by default if
it has callchain information.

Requested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Tested-by: Arun Sharma <asharma@fb.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-23-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/symbol.c

index 95e249779931216f5cbeb5b09c26ea0655a0fcf7..7b9096f29cdbf7f8c2afabb041e2563b0e70c0da 100644 (file)
@@ -29,11 +29,12 @@ int vmlinux_path__nr_entries;
 char **vmlinux_path;
 
 struct symbol_conf symbol_conf = {
-       .use_modules      = true,
-       .try_vmlinux_path = true,
-       .annotate_src     = true,
-       .demangle         = true,
-       .symfs            = "",
+       .use_modules            = true,
+       .try_vmlinux_path       = true,
+       .annotate_src           = true,
+       .demangle               = true,
+       .cumulate_callchain     = true,
+       .symfs                  = "",
 };
 
 static enum dso_binary_type binary_type_symtab[] = {