-
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 |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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->disk
in 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 amd64
tobpf2go
instead of-D__TARGET_ARCH_x86
.