iovisor / gobpf

Go bindings for creating BPF programs.
Apache License 2.0
2.14k stars 313 forks source link

add OpenPerfEvent API so that tables can be configured to catch perf event counters in bpf programs #310

Open rootfs opened 2 years ago

rootfs commented 2 years ago

open_perf_event is well used in bcc Python libray, this PR is to get it here for golang

rootfs commented 2 years ago

@schu your input is highly appreciated, thanks