diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-10 18:50:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-10 18:50:08 +0200 |
| commit | 25d56de3712412bfb5b271ff9fbad7bf8d75288e (patch) | |
| tree | 6a9c796ec41a3c2bdeaeaa3036e1fafcf1d44148 /main.go | |
| parent | c6200235b553770221e1ca0b25ca46ed6af96803 (diff) | |
add UID filter
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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) |
