aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2021-09-07 09:58:59 +0000
committerVasily Gorbik <[email protected]>2021-09-16 08:39:55 +0000
commit1511df6f5e9ef32826f20db2ee81f8527154dc14 (patch)
tree14f1385f7edd9c645bcf29fc8e8903e8187b4564 /tools/perf/util/annotate.c
parentLinux 5.15-rc1 (diff)
downloadkernel-1511df6f5e9ef32826f20db2ee81f8527154dc14.tar.gz
kernel-1511df6f5e9ef32826f20db2ee81f8527154dc14.zip
s390/bpf: Fix branch shortening during codegen pass
EMIT6_PCREL() macro assumes that the previous pass generated 6 bytes of code, which is not the case if branch shortening took place. Fix by using jit->prg, like all the other EMIT6_PCREL_*() macros. Reported-by: Johan Almbladh <[email protected]> Fixes: 4e9b4a6883dd ("s390/bpf: Use relative long branches") Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions