From 25d56de3712412bfb5b271ff9fbad7bf8d75288e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Feb 2024 18:50:08 +0200 Subject: add UID filter --- main.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 7d4dd8f..1d3988c 100644 --- a/main.go +++ b/main.go @@ -66,19 +66,6 @@ func main() { log.Fatal(err) } - testerMap, err := bpfModule.GetMap("tester") - if err != nil { - log.Fatal(err) - } - - if testerMap.Name() != "tester" { - log.Fatal("wrong map") - } - - if testerMap.Type() != bpf.MapTypeHash { - log.Fatal("wrong map type") - } - eventsChannel := make(chan []byte) lostChannel := make(chan uint64) pb, err := bpfModule.InitPerfBuf("events", eventsChannel, lostChannel, 1) -- cgit v1.2.3