aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-12-24 16:19:25 +0900
committerJiri Olsa <[email protected]>2014-06-01 14:35:08 +0200
commite511db5e94f056083e821aa3ab74b03ad1216e14 (patch)
treeac0aaa79f2360723e741bc5b75b0e3f48f540b44
parent104ac991bd821773cba6f262f97a4a752ed76dd5 (diff)
perf tools: Enable --children option by default
Now perf top and perf report will show children column by default if it has callchain information. Requested-by: Ingo Molnar <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Tested-by: Rodrigo Campos <[email protected]> Tested-by: Arun Sharma <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
-rw-r--r--tools/perf/util/symbol.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 95e249779931..7b9096f29cdb 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -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[] = {