-
I am writing an example of logging offcputime by binding finish_task_switch, failed to obtain pid. SEC("kprobe/finish_task_switch") buidl:go run github.com/cilium/ebpf/cmd/bpf2go -target amd64 -cc clang bpf kprobe_finish_task.c -- -I../headers The current pid is correct and the previous pid is always zero |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is an eBPF-specific question not related to the Go side of things. You may have more success getting a reply on StackOverflow or on the Cilium Slack. |
Beta Was this translation helpful? Give feedback.
This is an eBPF-specific question not related to the Go side of things. You may have more success getting a reply on StackOverflow or on the Cilium Slack.