summaryrefslogtreecommitdiff
path: root/samples/bpf/task_fd_query_kern.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-10-08 10:59:38 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-10-08 23:16:03 +0200
commit694731e8ea7f6bbcf0c57763ed4f24faa14bf056 (patch)
tree6831a0fe266535908d3388fb3ac25222c2e310c0 /samples/bpf/task_fd_query_kern.c
parent36b5d471135c3ef5f4922aa23f6566b6a07227f7 (diff)
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/bpf/task_fd_query_kern.c')
0 files changed, 0 insertions, 0 deletions