Skip to content

Commit

Permalink
retinaebpfapi#syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Feb 21, 2025
1 parent 5450584 commit 1819767
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/plugin/ebpfwindows/metricsmap_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import (
"reflect"
"syscall"
"unsafe"

"golang.org/x/sys/windows"
)

const (
Expand Down Expand Up @@ -63,7 +61,7 @@ type metricsMap struct {

var (
// Load the retinaebpfapi.dll
retinaEbpfApi = windows.NewLazyDLL("C:\\hpc\\retinaebpfapi.dll")
retinaEbpfApi = syscall.NewLazyDLL("C:\\hpc\\retinaebpfapi.dll")
// Load the enumerate_cilium_metricsmap function
enumMetricsMap = retinaEbpfApi.NewProc("enumerate_cilium_metricsmap")
)
Expand Down

0 comments on commit 1819767

Please sign in to comment.