ThinkerYzu1
ThinkerYzu1
This looks like xmake doesn't give the proper parameters to clang. In a typical case, xmake downloads a copy of linux-headers, uncompresses the file, and uses the directory as an...
There are a lot of test cases under tools/testing/selftests/bpf directory of Linux. You may want to check there for examples that you don't find here. FYI https://github.com/torvalds/linux/blob/master/tools/testing/selftests/bpf/progs/test_probe_user.c
It is probably caused by invalid BTF content. I found there is a CONST that type_id refers to itself. It should not happen for valid BTF content. Is it worth...
I am also wondering if this happens in the kernel as well.