linux-perf: Remove remaining source filenames from executable
authorBen Hutchings <benh@debian.org>
Mon, 29 May 2023 22:16:39 +0000 (00:16 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Tue, 6 May 2025 19:33:52 +0000 (21:33 +0200)
commitca3e1588026f699aec1f6383f4b089a576d5a560
tree5a390304f353c69de8a4da17a5691e0bfabc73b4
parent1fc0b7413d88bb1db34c26a0ff16594b515ee671
linux-perf: Remove remaining source filenames from executable

When we build perf with -ffile-prefix-map, there are still 2
source directory names embedded in the executable:

1. The Documentation subdirectory, used as a fallback from the
   installed location.
2. The python subdirectory, used in the Python script test.

Remove (1) since it is an unnecessary fallback.  Change (2)
to the installed location.

Gbp-Pq: Topic debian
Gbp-Pq: Name linux-perf-remove-remaining-source-filenames-from-executable.patch
tools/perf/Build
tools/perf/builtin-report.c
tools/perf/tests/Build