]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
perf buildid-cache: Add --debuginfod option to specify a server to fetch debug files
authorJiri Olsa <jolsa@kernel.org>
Mon, 14 Dec 2020 10:54:55 +0000 (11:54 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Dec 2020 15:20:39 +0000 (12:20 -0300)
commite8a2061f0b60c06abfd2fbd9476c9925991579c0
tree0e0f4da4b43758ca1d0dfb5762391dc9badb4e77
parent0b5c88214e9c6980ebb25a4fd7e1398f10adf2e2
perf buildid-cache: Add --debuginfod option to specify a server to fetch debug files

Add the --debuginfod option to specify debuginfod URL and support to do
that through config file as well.

Use the following in ~/.perfconfig file:

  [buildid-cache]
  debuginfod=http://192.168.122.174:8002

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Budankov <abudankov@huawei.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20201214105457.543111-14-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-buildid-cache.txt
tools/perf/Documentation/perf-config.txt
tools/perf/builtin-buildid-cache.c