summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-03-22 17:52:10 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-03-22 17:52:10 -0300
commit34fe4ccb777e2c15a3419fa8e733114f6ce2a3c6 (patch)
treef07755c842475c4f9d4c67e126d154158eb8ccbb /tools/perf/util/symbol.c
parentfeff08395b2c427caadf00f8c22920cfb3306739 (diff)
parent5191290407668028179f2544a11ae9b57f0bcf07 (diff)
downloadlinux-34fe4ccb777e2c15a3419fa8e733114f6ce2a3c6.tar.bz2
Merge remote-tracking branch 'torvalds/master' into perf/core
To pick up fixes that went thru perf/urgent and now are fixed by an upcoming patch. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index fb075aa8f8f2..dea0fc495185 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -231,7 +231,7 @@ void symbols__fixup_end(struct rb_root_cached *symbols)
prev = curr;
curr = rb_entry(nd, struct symbol, rb_node);
- if (prev->end == prev->start && prev->end != curr->start)
+ if (prev->end == prev->start || prev->end != curr->start)
arch__symbols__fixup_end(prev, curr);
}