Skip to content

Commit cc69e56

Browse files
committed
docs: add kernel version-specific selector limits
Follow-up to PR #4549 documenting additional limits from issue #709. Signed-off-by: Pavan More <[email protected]>
1 parent 8492da6 commit cc69e56

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/content/en/docs/concepts/tracing-policy/selectors.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,6 +2056,15 @@ exist.
20562056
For an unlimited number of values, consider using the `InMap` or `NotInMap`
20572057
operators which store values in a BPF map.
20582058

2059+
#### Kernel Version-Specific Limits
2060+
2061+
Some limits vary based on the kernel version:
2062+
2063+
- **Max file match values** (using `fd` or `file` arg): 8 on kernels ≥5.3, 2 on kernels <5.3
2064+
- **String prefix max length**: 256 chars
2065+
- **String postfix max length**: 128 chars
2066+
- **matchBinaries values**: Unlimited (stored in BPF map)
2067+
20592068

20602069
## Return Actions filter
20612070

0 commit comments

Comments
 (0)