diff options
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/buffers.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/config/buffers.go b/internal/config/buffers.go new file mode 100644 index 0000000..61986d8 --- /dev/null +++ b/internal/config/buffers.go @@ -0,0 +1,10 @@ +package config + +const ( + // DefaultChannelBufferSize is the shared default for high-volume trace and + // TUI event channels. + DefaultChannelBufferSize = 4096 + + // DefaultEventMapSize is the default BPF event ring-buffer map size. + DefaultEventMapSize = DefaultChannelBufferSize * 16 +) |
