Skip to content

Commit 9e10095

Browse files
committed
Reduce iovec bpf loop limit from 42 to 41 to fix BPF instruction count for 4.14 kernels
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent ce79564 commit 9e10095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stirling/source_connectors/socket_tracer/socket_trace_connector.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ DEFINE_bool(
176176
stirling_debug_tls_sources, gflags::BoolFromEnv("PX_DEBUG_TLS_SOURCES", false),
177177
"If true, stirling will add additional prometheus metrics regarding the traced tls sources");
178178

179-
DEFINE_uint32(stirling_bpf_loop_limit, 42,
179+
DEFINE_uint32(stirling_bpf_loop_limit, 41,
180180
"The maximum number of iovecs to capture for syscalls. "
181181
"Set conservatively for older kernels by default to keep the instruction count below "
182182
"BPF's limit for version 4 kernels (4096 per probe).");

0 commit comments

Comments
 (0)