bpf: Update selftests for local_storage to use vmlinux.h
authorKP Singh <kpsingh@google.com>
Fri, 6 Nov 2020 10:37:45 +0000 (10:37 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Nov 2020 16:08:37 +0000 (08:08 -0800)
commita367efa71b3f5a53281ca9772f8bf43166dfdf5f
tree2148105558164da3b2876d2d145924ef9e32f4e9
parentf0e5ba0bc481df77cf0afac2b33e420b33eeb463
bpf: Update selftests for local_storage to use vmlinux.h

With the fixing of BTF pruning of embedded types being fixed, the test
can be simplified to use vmlinux.h

Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201106103747.2780972-8-kpsingh@chromium.org
tools/testing/selftests/bpf/progs/local_storage.c