summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf.d/shm.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:49:55 +0000
commitab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch)
tree7a900833aad3ccc685712c6c2a7d87576d54f427 /collectors/ebpf.plugin/ebpf.d/shm.conf
parentAdding upstream version 1.40.1. (diff)
downloadnetdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.tar.xz
netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.zip
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/ebpf.plugin/ebpf.d/shm.conf')
-rw-r--r--collectors/ebpf.plugin/ebpf.d/shm.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf.d/shm.conf b/collectors/ebpf.plugin/ebpf.d/shm.conf
index f8ec1a18f..95fb54e0f 100644
--- a/collectors/ebpf.plugin/ebpf.d/shm.conf
+++ b/collectors/ebpf.plugin/ebpf.d/shm.conf
@@ -20,6 +20,8 @@
#
# The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.6.
#
+# The `lifetime` defines the time length a thread will run when it is enabled by a function.
+#
# Uncomment lines to define specific options for thread.
[global]
# ebpf load mode = entry
@@ -30,6 +32,7 @@
ebpf type format = auto
ebpf co-re tracing = trampoline
# maps per core = yes
+ lifetime = 300
# List of monitored syscalls
[syscalls]