summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf.d.conf
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/ebpf.plugin/ebpf.d.conf')
-rw-r--r--collectors/ebpf.plugin/ebpf.d.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf.d.conf b/collectors/ebpf.plugin/ebpf.d.conf
index 8807f9a3a..5cb844b20 100644
--- a/collectors/ebpf.plugin/ebpf.d.conf
+++ b/collectors/ebpf.plugin/ebpf.d.conf
@@ -19,6 +19,8 @@
#
# The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.15.
#
+# The `lifetime` defines the time length a thread will run when it is enabled by a function.
+#
[global]
ebpf load mode = entry
apps = no
@@ -27,6 +29,7 @@
pid table size = 32768
btf path = /sys/kernel/btf/
maps per core = yes
+ lifetime = 300
#
# eBPF Programs