Skip to content

Unable to attach to Go programs #179

Answered by anakryiko
nela asked this question in Q&A
Discussion options

You must be logged in to vote

libbpf has some assumption about ELF symbol being more or less valid C identifier, which Go clearly violates. We can improve that on libbpf side, but meanwhile try doing attachment programmatically using bpf_program__attach_uprobe_opts()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nela
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants