summaryrefslogtreecommitdiff
path: root/dev-util/perf/files/perf-6.11.7-annotate.patch
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2024-11-11 13:52:08 +0100
committerGuilherme Amadio <amadio@gentoo.org>2024-11-11 17:15:09 +0100
commite7fd7b802eede73629109b18642583e3400d7bea (patch)
treecb5aa32459cbb738e01867579573390b3c96642c /dev-util/perf/files/perf-6.11.7-annotate.patch
parentd8f9ade7bfd079194406a5730f1989ef4201e3cb (diff)
downloadgentoo-e7fd7b802eede73629109b18642583e3400d7bea.tar.gz
gentoo-e7fd7b802eede73629109b18642583e3400d7bea.tar.bz2
gentoo-e7fd7b802eede73629109b18642583e3400d7bea.zip
dev-util/perf: add 6.11.7
Closes: https://bugs.gentoo.org/943203 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'dev-util/perf/files/perf-6.11.7-annotate.patch')
-rw-r--r--dev-util/perf/files/perf-6.11.7-annotate.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-util/perf/files/perf-6.11.7-annotate.patch b/dev-util/perf/files/perf-6.11.7-annotate.patch
new file mode 100644
index 000000000000..ca6e7bb07cba
--- /dev/null
+++ b/dev-util/perf/files/perf-6.11.7-annotate.patch
@@ -0,0 +1,19 @@
+
+Fix for bug #943203.
+
+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5363c306787c88d41a41493f81b4308643696f6e
+
+diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
+index a18927d792afc5..3bbf173ad822bc 100644
+--- a/tools/perf/util/symbol.c
++++ b/tools/perf/util/symbol.c
+@@ -1931,6 +1931,9 @@ int dso__load(struct dso *dso, struct map *map)
+ if (next_slot) {
+ ss_pos++;
+
++ if (dso__binary_type(dso) == DSO_BINARY_TYPE__NOT_FOUND)
++ dso__set_binary_type(dso, symtab_type);
++
+ if (syms_ss && runtime_ss)
+ break;
+ } else {