diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-11-04 00:39:51 +0530 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-11-03 19:31:17 -0700 |
commit | 23da464dd6b8935b66f4ee306ad8947fd32ccd75 (patch) | |
tree | c6374961daa5a9d76af819da69d114d628ca30ee /tools/perf/scripts/python | |
parent | 9805af8d8a5b17f9ea0a16f636f3440b970049f3 (diff) |
bpf: Allow specifying volatile type modifier for kptrs
This is useful in particular to mark the pointer as volatile, so that
compiler treats each load and store to the field as a volatile access.
The alternative is having to define and use READ_ONCE and WRITE_ONCE in
the BPF program.
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions