Skip to content

Commit

Permalink
Reduce iovec bpf loop limit from 42 to 41 to fix BPF instruction coun…
Browse files Browse the repository at this point in the history
…t for 4.14 kernels

Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Aug 29, 2024
1 parent 7a5cd84 commit 7960135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ DEFINE_bool(
stirling_debug_tls_sources, gflags::BoolFromEnv("PX_DEBUG_TLS_SOURCES", false),
"If true, stirling will add additional prometheus metrics regarding the traced tls sources");

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

0 comments on commit 7960135

Please sign in to comment.