diff options
| author | Björn Töpel <[email protected]> | 2021-01-18 10:17:53 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-01-20 14:10:35 -0800 |
| commit | da9d35e2f2e60bb1256691bb9014a69084ea62d0 (patch) | |
| tree | 1a2ad74291acc369ecd2ed4cf34447a191b9bc27 /tools/perf/scripts/python | |
| parent | 89f479f0eccfc879e7bc0a69f44ed4a4639dfc32 (diff) | |
samples/bpf: Add BPF_ATOMIC_OP macro for BPF samples
Brendan Jackman added extend atomic operations to the BPF instruction
set in commit 7064a7341a0d ("Merge branch 'Atomics for eBPF'"), which
introduces the BPF_ATOMIC_OP macro. However, that macro was missing
for the BPF samples. Fix that by adding it into bpf_insn.h.
Fixes: 91c960b00566 ("bpf: Rename BPF_XADD and prepare to encode other atomics in .imm")
Signed-off-by: Björn Töpel <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Brendan Jackman <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions