linux-xiaomi-chiron/tools/perf/Documentation
Jiri Olsa 9bce13ea88 perf record: Disable debuginfod by default
Fedora 35 sets DEBUGINFOD_URLS by default, which might lead to
unexpected stalls in perf record exit path, when we try to cache
profiled binaries.

  # DEBUGINFOD_PROGRESS=1 ./perf record -a
  ^C[ perf record: Woken up 1 times to write data ]
  Downloading from https://debuginfod.fedoraproject.org/ 447069
  Downloading from https://debuginfod.fedoraproject.org/ 1502175
  Downloading \^Z

Disabling DEBUGINFOD_URLS by default in perf record and adding
debuginfod option and .perfconfig variable support to enable id.

  Default without debuginfo processing:
  # perf record -a

  Using system debuginfod setup:
  # perf record -a --debuginfod

  Using custom debuginfd url:
  # perf record -a --debuginfod='https://evenbetterdebuginfodserver.krava'

Adding single perf_debuginfod_setup function and using
it also in perf buildid-cache command.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20211209200425.303561-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-01-15 17:41:25 -03:00
..
android.txt
asciidoc.conf
asciidoctor-extensions.rb
build-docdep.perl
build-xed.txt
Build.txt
callchain-overhead-calculation.txt
cat-texi.perl
db-export.txt
examples.txt
intel-bts.txt
intel-hybrid.txt
intel-pt.txt
itrace.txt
jit-interface.txt
jitdump-specification.txt
Makefile
manpage-1.72.xsl
manpage-base.xsl
manpage-bold-literal.xsl
manpage-normal.xsl
manpage-suppress-sp.xsl
perf-annotate.txt
perf-archive.txt
perf-bench.txt
perf-buildid-cache.txt
perf-buildid-list.txt
perf-c2c.txt
perf-config.txt
perf-daemon.txt
perf-data.txt
perf-diff.txt
perf-dlfilter.txt
perf-evlist.txt
perf-ftrace.txt
perf-help.txt
perf-inject.txt
perf-intel-pt.txt
perf-iostat.txt
perf-kallsyms.txt
perf-kmem.txt
perf-kvm.txt
perf-list.txt
perf-lock.txt
perf-mem.txt
perf-probe.txt
perf-record.txt
perf-report.txt
perf-sched.txt
perf-script-perl.txt
perf-script-python.txt
perf-script.txt
perf-stat.txt
perf-test.txt
perf-timechart.txt
perf-top.txt
perf-trace.txt
perf-version.txt
perf.data-directory-format.txt
perf.data-file-format.txt
perf.txt
perfconfig.example
security.txt
tips.txt
topdown.txt