samples/bpf: use vmlinux.h instead of implicit headers in BPF test program
authorDaniel T. Lee <danieltimlee@gmail.com>
Sun, 15 Jan 2023 07:16:12 +0000 (16:16 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 15 Jan 2023 21:32:45 +0000 (13:32 -0800)
commite8acf8f47a5d58a00fbfa0f3592bbaaff557cec3
tree526e205b4251f0c2705cbf7d5c7204c63fabc8d0
parentc2f4f5593e6ae8014b277b46f5f9a8227f11d69c
samples/bpf: use vmlinux.h instead of implicit headers in BPF test program

This commit applies vmlinux.h to BPF functionality testing program.
Macros that were not defined despite migration to "vmlinux.h" were
defined separately in individual files.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230115071613.125791-10-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/lwt_len_hist_kern.c
samples/bpf/sock_flags_kern.c
samples/bpf/test_cgrp2_tc_kern.c
samples/bpf/test_lwt_bpf.c
samples/bpf/test_map_in_map_kern.c
samples/bpf/test_overhead_kprobe_kern.c
samples/bpf/test_overhead_raw_tp_kern.c
samples/bpf/test_overhead_tp_kern.c