samples/bpf: use preferred getters/setters instead of deprecated ones
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 24 Jan 2022 19:42:53 +0000 (11:42 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 26 Jan 2022 01:59:07 +0000 (17:59 -0800)
commit61afd3da089417520ba828dd4a25e83c8efda345
tree152b958b414b6bc6f07526b0ce0e6db1c466bb1a
parent379d19ecdc208c7b8d3d221f29e39d84a5f3b00b
samples/bpf: use preferred getters/setters instead of deprecated ones

Use preferred setter and getter APIs instead of deprecated ones.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220124194254.2051434-7-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/map_perf_test_user.c
samples/bpf/xdp_redirect_cpu_user.c
samples/bpf/xdp_sample_user.c
samples/bpf/xdp_sample_user.h