Skip to content

[Help] Same eBPF program output wrong values when loading from Go (compared to libbpf with C++) #1490

Answered by lmb
linhanphan asked this question in Q&A
Discussion options

You must be logged in to vote

Could it be that you are attaching the kretprobe via Kprobe instead of https://pkg.go.dev/github.com/cilium/ebpf/link#Kretprobe?

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lmb
Comment options

Comment options

You must be logged in to vote
2 replies
@lmb
Comment options

Answer selected by linhanphan
@linhanphan
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
2 participants