Github diff refuses to work, I'll paste new content in vmlinux.h below:
#if defined(__TARGET_ARCH_x86)
#include "vmlinux-x86.h"
#elif defined(__TARGET_ARCH_arm64)
#include "vmlinux-arm64.h"
#else
/*
* For other architectures, we don't have a vmlinux.h file. But the normal dae
* bpf program doesn't need it. So we just include the x86 vmlinux.h file to
* make the build pass.
*/
#include "vmlinux-x86.h"
#endif
This PR basically created a new file
vmlinux-arm64.h
, ranmv vmlinux.h vmlinux-x86.h
, and let vmlinux.h choose header according to arch.To fix: https://github.com/daeuniverse/dae/issues/453
Github diff refuses to work, I'll paste new content in vmlinux.h below: