samples/bpf: Use vmlinux.h instead of implicit headers in syscall tracing program
authorDaniel T. Lee <danieltimlee@gmail.com>
Sat, 24 Dec 2022 07:15:23 +0000 (16:15 +0900)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 29 Dec 2022 22:22:34 +0000 (14:22 -0800)
commit8a4dd0bcbdfd5bdaa5d1a5b390f44a45b60e8aa9
tree7a4cadebc961a0529052ee6445978c08c8e7336c
parent1d0c5f6f3d1387ec9c3a379fb232c078f5838d55
samples/bpf: Use vmlinux.h instead of implicit headers in syscall tracing program

This commit applies vmlinux.h to syscall tracing program. This change
allows the bpf program to refer to the internal structure as a single
"vmlinux.h" instead of including each header referenced by the bpf
program.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221224071527.2292-3-danieltimlee@gmail.com
samples/bpf/map_perf_test_kern.c
samples/bpf/test_current_task_under_cgroup_kern.c
samples/bpf/test_probe_write_user_kern.c
samples/bpf/trace_output_kern.c
samples/bpf/tracex2_kern.c