github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/link/perf_event_test.go (about)

     1  package link
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/cilium/ebpf/internal/testutils"
     7  )
     8  
     9  func TestHaveBPFLinkPerfEvent(t *testing.T) {
    10  	testutils.CheckFeatureTest(t, haveBPFLinkPerfEvent)
    11  }