diff options
| author | Andrii Nakryiko <[email protected]> | 2019-10-08 17:59:38 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-10-08 21:16:03 +0000 |
| commit | 694731e8ea7f6bbcf0c57763ed4f24faa14bf056 (patch) | |
| tree | 6831a0fe266535908d3388fb3ac25222c2e310c0 /tools/lib/bpf/bpf_core_read.h | |
| parent | selftests/bpf: samples/bpf: Split off legacy stuff from bpf_helpers.h (diff) | |
| download | kernel-694731e8ea7f6bbcf0c57763ed4f24faa14bf056.tar.gz kernel-694731e8ea7f6bbcf0c57763ed4f24faa14bf056.zip | |
selftests/bpf: Adjust CO-RE reloc tests for new bpf_core_read() macro
To allow adding a variadic BPF_CORE_READ macro with slightly different
syntax and semantics, define CORE_READ in CO-RE reloc tests, which is
a thin wrapper around low-level bpf_core_read() macro, which in turn is
just a wrapper around bpf_probe_read().
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions
