aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2021-09-06 13:04:14 +0000
committerVasily Gorbik <[email protected]>2021-09-16 08:39:55 +0000
commitdb7bee653859ef7179be933e7d1384644f795f26 (patch)
tree566fa68b630035ccc491a6aa3ce8fba3366ee31b /tools/perf/util/annotate.c
parents390/bpf: Fix 64-bit subtraction of the -0x80000000 constant (diff)
downloadkernel-db7bee653859ef7179be933e7d1384644f795f26.tar.gz
kernel-db7bee653859ef7179be933e7d1384644f795f26.zip
s390/bpf: Fix optimizing out zero-extensions
Currently the JIT completely removes things like `reg32 += 0`, however, the BPF_ALU semantics requires the target register to be zero-extended in such cases. Fix by optimizing out only the arithmetic operation, but not the subsequent zero-extension. Reported-by: Johan Almbladh <[email protected]> Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend") Reviewed-by: Heiko Carstens <[email protected]> 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