|
blkgq_entry is a structure defined in my c code : Run go generate -x after which an error will be reported: I remember that on ebpfv0.7.0 it was fine, on ebpfv0.9.0 it reports an error |
Replies: 1 comment 1 reply
|
Can you double check that old versions worked? I don't think we ever supported generating pointer types. What do you want to do with P.S.: Please pass |
Can you double check that old versions worked? I don't think we ever supported generating pointer types.
What do you want to do with
blkgq_entry->diskin Go? There is no way to share pointers between Go and eBPF, which is why you currently can't generate a type for such structs.P.S.: Please pass
-target amd64tobpf2goinstead of-D__TARGET_ARCH_x86.