diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-08 20:59:38 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-09 00:16:03 +0300 |
commit | 694731e8ea7f6bbcf0c57763ed4f24faa14bf056 (patch) | |
tree | 6831a0fe266535908d3388fb3ac25222c2e310c0 /samples/kobject | |
parent | 36b5d471135c3ef5f4922aa23f6566b6a07227f7 (diff) | |
download | linux-694731e8ea7f6bbcf0c57763ed4f24faa14bf056.tar.xz |
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 <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191008175942.1769476-4-andriin@fb.com
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions