aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_core_read.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-10-08 17:59:38 +0000
committerDaniel Borkmann <[email protected]>2019-10-08 21:16:03 +0000
commit694731e8ea7f6bbcf0c57763ed4f24faa14bf056 (patch)
tree6831a0fe266535908d3388fb3ac25222c2e310c0 /tools/lib/bpf/bpf_core_read.h
parentselftests/bpf: samples/bpf: Split off legacy stuff from bpf_helpers.h (diff)
downloadkernel-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