diff options
author | Brendan Jackman <[email protected]> | 2021-01-14 18:17:46 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-01-14 18:34:29 -0800 |
commit | 5ca419f2864a2c60940dcf4bbaeb69546200e36f (patch) | |
tree | edd181e67503cb404dfa55cfaae6d757db3e22b6 /tools/perf/scripts/python/flamegraph.py | |
parent | c5bcb5eb4db632280b4123135d583a7bc8caea3e (diff) |
bpf: Add BPF_FETCH field / create atomic_fetch_add instruction
The BPF_FETCH field can be set in bpf_insn.imm, for BPF_ATOMIC
instructions, in order to have the previous value of the
atomically-modified memory location loaded into the src register
after an atomic op is carried out.
Suggested-by: Yonghong Song <[email protected]>
Signed-off-by: Brendan Jackman <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions