]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
perf util: Enable handling of inlined frames by default
authorMilian Wolff <milian.wolff@kdab.com>
Thu, 19 Oct 2017 11:38:36 +0000 (13:38 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Oct 2017 13:50:47 +0000 (10:50 -0300)
Now that we have caches in place to speed up the process of finding
inlined frames and srcline information repeatedly, we can enable this
useful option by default.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171019113836.5548-6-milian.wolff@kdab.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-script.txt
tools/perf/util/symbol.c

index 383a98d992ed5570564bf01f90cd9a2ba513e287..ddde2b54af572e2407c364cd6441aaba2742e43e 100644 (file)
@@ -434,7 +434,8 @@ include::itrace.txt[]
 
 --inline::
        If a callgraph address belongs to an inlined function, the inline stack
-       will be printed. Each entry is function name or file/line.
+       will be printed. Each entry is function name or file/line. Enabled by
+       default, disable with --no-inline.
 
 include::callchain-overhead-calculation.txt[]
 
index bcc1ba35a2d8b8a22c348a7196117650494dbc8c..25e6773447284590be68d880dbc31cdef1b172c9 100644 (file)
@@ -327,7 +327,8 @@ include::itrace.txt[]
 
 --inline::
        If a callgraph address belongs to an inlined function, the inline stack
-       will be printed. Each entry has function name and file/line.
+       will be printed. Each entry has function name and file/line. Enabled by
+       default, disable with --no-inline.
 
 SEE ALSO
 --------
index 066e38aa40634443eddb1fbde4bd69bd15a5cde8..ce6993bebf8c1d744e2e1bea74f1bbb8d44640c0 100644 (file)
@@ -45,6 +45,7 @@ struct symbol_conf symbol_conf = {
        .show_hist_headers      = true,
        .symfs                  = "",
        .event_group            = true,
+       .inline_name            = true,
 };
 
 static enum dso_binary_type binary_type_symtab[] = {