Does ebpf-go support BPF_PROG_TYPE_PERF_EVENT? #946
Unanswered
caneatcansleep
asked this question in
Q&A
Replies: 1 comment
-
What is this program type used for? A grep through the kernel selftests turns up some things related to periodic perf events, but I don't really find any examples. There was a PR to add periodic events (#924) to the perf package, but we're not going to add those in the near future. We're considering spinning off the perf package into a separate repo to allow the community to broaden its scope a bit. What is your use case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to know whether ebpf-go support BPF_PROG_TYPE_PERF_EVENT, currently the attachPerfEvent function only support Kprobe, TracePoint, and I did't find any cases or examples about BPF_PROG_TYPE_PERF_EVENT.
Beta Was this translation helpful? Give feedback.
All reactions