teleport/bpf/vmlinux.h
Jakub Nyckowski 1b0b30e447
Create separate build tags for different arch (#21086)
Test ARM64 assets build

Use all available cores when building Clang

Add test trigger

Update assets buildbox name

Build all dependencies on ARM64 including BPF
2023-02-23 17:11:50 +00:00

29 lines
845 B
C

/*
Copyright 2023 Gravitational, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifdef __TARGET_ARCH_arm64
#include "./arm64/vmlinux.h"
#define teleport_bpf_arch_defined 1
#endif
#ifdef __TARGET_ARCH_x86
#include "./x86/vmlinux.h"
#define teleport_bpf_arch_defined 1
#endif
#ifndef teleport_bpf_arch_defined
#error Unknown BPF architecture
#endif