Skip to content
Discussion options

You must be logged in to vote

Did you write the SidListData by hand or use bpf2go?

Try using the generated functions to get access to a CollectionSpec, that should be what you need:

func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error {

It would also be helpful if you dump the BTF of your compiled code via bpftool btf dump file ... (IIRC)

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@jklaiber
Comment options

@lmb
Comment options

lmb Oct 30, 2023
Maintainer

Answer selected by jklaiber
@ti-mo
Comment options

@jklaiber
Comment options

@jklaiber
Comment options

@ti-mo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants