aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/Documentation/perf-report.txt4
-rw-r--r--tools/perf/builtin-report.c2
-rw-r--r--tools/perf/util/symbol.h3
3 files changed, 8 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index e9a61f5485eb..248bba434b53 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -430,6 +430,10 @@ include::itrace.txt[]
430--hierarchy:: 430--hierarchy::
431 Enable hierarchical output. 431 Enable hierarchical output.
432 432
433--inline::
434 If a callgraph address belongs to an inlined function, the inline stack
435 will be printed. Each entry is function name or file/line.
436
433include::callchain-overhead-calculation.txt[] 437include::callchain-overhead-calculation.txt[]
434 438
435SEE ALSO 439SEE ALSO
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 3c8885a1c452..c18158b83eb1 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -845,6 +845,8 @@ int cmd_report(int argc, const char **argv)
845 stdio__config_color, "always"), 845 stdio__config_color, "always"),
846 OPT_STRING(0, "time", &report.time_str, "str", 846 OPT_STRING(0, "time", &report.time_str, "str",
847 "Time span of interest (start,stop)"), 847 "Time span of interest (start,stop)"),
848 OPT_BOOLEAN(0, "inline", &symbol_conf.inline_name,
849 "Show inline function"),
848 OPT_END() 850 OPT_END()
849 }; 851 };
850 struct perf_data_file file = { 852 struct perf_data_file file = {
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index e36213ccfcf7..5245d2fb1a0a 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -118,7 +118,8 @@ struct symbol_conf {
118 show_ref_callgraph, 118 show_ref_callgraph,
119 hide_unresolved, 119 hide_unresolved,
120 raw_trace, 120 raw_trace,
121 report_hierarchy; 121 report_hierarchy,
122 inline_name;
122 const char *vmlinux_name, 123 const char *vmlinux_name,
123 *kallsyms_name, 124 *kallsyms_name,
124 *source_prefix, 125 *source_prefix,