aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-02-29 23:11:09 +0000
committerAlexei Starovoitov <[email protected]>2020-03-03 00:25:14 +0000
commitca7dc2791b507f842d73e46b1a0453b36b69ffc2 (patch)
treeb68bae67d0fbce7f668f33eed823ddb2efa777f5 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
parentmvneta: add XDP ethtool errors stats for TX to driver (diff)
downloadkernel-ca7dc2791b507f842d73e46b1a0453b36b69ffc2.tar.gz
kernel-ca7dc2791b507f842d73e46b1a0453b36b69ffc2.zip
bpftool: Add header guards to generated vmlinux.h
Add canonical #ifndef/#define/#endif guard for generated vmlinux.h header with __VMLINUX_H__ symbol. __VMLINUX_H__ is also going to play double role of identifying whether vmlinux.h is being used, versus, say, BCC or non-CO-RE libbpf modes with dependency on kernel headers. This will make it possible to write helper macro/functions, agnostic to exact BPF program set up. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions