From 9889787833f1c58aacd0264aa06b1b61a64f55a8 Mon Sep 17 00:00:00 2001 From: iluxa Date: Tue, 27 Feb 2024 20:52:07 +0100 Subject: [PATCH] update comment for IPC_LOCK (#1507) --- config/configStruct.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/configStruct.go b/config/configStruct.go index e5736bfc1..b3d474325 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -53,7 +53,8 @@ func CreateDefaultConfig() ConfigStruct { "SYS_PTRACE", // SYS_RESOURCE is required to change rlimits for eBPF "SYS_RESOURCE", - // IPC_LOCK is required for ebpf perf rings (kernel > ) + // IPC_LOCK is required for ebpf perf buffers allocations after some amount of size buffer size: + // https://github.com/kubeshark/tracer/blob/13e24725ba8b98216dd0e553262e6d9c56dce5fa/main.go#L82) "IPC_LOCK", }, },