Error during load: Arg#1 type is not a struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

My XDP program was working fine with older version of clang/llvm (10)
and when I moved to ubuntu 21.04, I ended up using version 12 and
started seeing the problem during load:

Validating xyz() func#1...
arg#1 type is not a struct
Arg#1 type PTR in xyz() is not supported yet.

I can see it is coming from btf_get_prog_ctx_type, but not able to
find the reason. The argument is a "void *".  What am I missing ?

Thanks
Mohan



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux