From 260784515cebd78ee68a3c2e2fcf5cf43e6e91d6 Mon Sep 17 00:00:00 2001 From: Ilya Gavrilov Date: Thu, 12 Dec 2024 09:56:46 +0100 Subject: [PATCH] Let consumer application read packets(plain and tls) perf buffers directly --- pkg/packet/packet.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/packet/packet.go b/pkg/packet/packet.go index 7b7a47d..fbb8309 100644 --- a/pkg/packet/packet.go +++ b/pkg/packet/packet.go @@ -45,8 +45,6 @@ type PacketSourceImpl struct { type createPollerFunc func(*ebpf.Map, bpf.RawWriter, bpf.GopacketWriter) (PacketsPoller, error) func newPacketSource(perfName string, createPoller createPollerFunc, pathNotSupported string) (PacketSource, error) { - // TODO: check file flag, that source is disabled - path := filepath.Join(bpf.PinPath, perfName) var err error