1 // Package perf allows interacting with Linux perf_events. 2 // 3 // BPF allows submitting custom perf_events to a ring-buffer set up 4 // by userspace. This is very useful to push things like packet samples 5 // from BPF to a daemon running in user space. 6 package perf 7