apisix-profiler icon indicating copy to clipboard operation
apisix-profiler copied to clipboard

fix: compile error

Open xuruidong opened this issue 1 year ago • 0 comments

Saving to: ‘vmlinux.tar’

vmlinux.tar           100%[============================================================>]   8.22M   606KB/s    in 15s

2024-12-24 04:00:36 (559 KB/s) - ‘vmlinux.tar’ saved [8622080/8622080]

tar: ..: Not found in archive
tar: Exiting with failure status due to previous errors
make: *** [Makefile:48: x86/x86/vmlinux.h] Error 2
  BPF      .output/profile.bpf.o
In file included from profile.bpf.c:3:
./lua_state.h:12:10: fatal error: 'vmlinux.h' file not found
#include <vmlinux.h>
         ^~~~~~~~~~~
1 error generated.
make: *** [Makefile:71: .output/profile.bpf.o] Error 1

xuruidong avatar Dec 24 '24 04:12 xuruidong