aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2022-01-27 16:32:40 +0800
committerDaniel Borkmann <[email protected]>2022-01-27 22:47:05 +0100
commitb6ec79518ef0c84d1ed0f76b8af9592a75eb29b6 (patch)
tree563e5069e58c36d50ffada0efadcf232fc4b125a /tools/perf/scripts/python
parent50fc9786b25cf0a39f22a599b05b29a32b76034d (diff)
bpf, x86: Remove unnecessary handling of BPF_SUB atomic op
According to the LLVM commit (https://reviews.llvm.org/D72184), sync_fetch_and_sub() is implemented as a negation followed by sync_fetch_and_add(), so there will be no BPF_SUB op, thus just remove it. BPF_SUB is also rejected by the verifier anyway. Signed-off-by: Hou Tao <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Brendan Jackman <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions