summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go13
1 files changed, 0 insertions, 13 deletions
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)