linux/tools/perf/ui/browsers
Andi Kleen 6f3da20e15 perf report: Support builtin perf script in scripts menu
The scripts menu traditionally only showed custom perf scripts.

Allow to run standard perf script with useful default options too.

- Normal perf script
- perf script with assembler (needs xed installed)
- perf script with source code output (needs debuginfo)
- perf script with custom arguments

Then we automatically select the right options to display the
information in the perf.data file.

For example with -b display branch contexts.

It's not easily possible to check for xed's existence in advance.  perf
script usually gives sensible error messages when it's not available.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190311144502.15423-7-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-03-11 16:33:19 -03:00
..
annotate.c perf report: Support builtin perf script in scripts menu 2019-03-11 16:33:19 -03:00
Build perf tools: Rename build libperf to perf 2019-02-14 15:18:08 -03:00
header.c perf tools: Replace automatic const char[] variables by statics 2019-01-21 15:15:57 -03:00
hists.c perf report: Support builtin perf script in scripts menu 2019-03-11 16:33:19 -03:00
hists.h perf hists browser: Pass annotation_options from tool to browser 2018-06-04 10:28:53 -03:00
map.c perf symbols: Remove include map.h from dso.h 2019-01-25 15:12:09 +01:00
map.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
scripts.c perf report: Support builtin perf script in scripts menu 2019-03-11 16:33:19 -03:00