summaryrefslogtreecommitdiffstats
path: root/collectors/ebpf.plugin/ebpf.d/shm.conf
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2023-07-12 16:49:48 +0000
committerGitHub <noreply@github.com>2023-07-12 16:49:48 +0000
commit929b19f485b7100d8caa322abb0987afd01b3883 (patch)
tree578e1a52e1f09b109e5bf775c86fac9f84fc1e76 /collectors/ebpf.plugin/ebpf.d/shm.conf
parent83272d4903522d4a10535e96f4e3b7f869653137 (diff)
eBPF Functions (enable/disable threads) (#15214)
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 f8ec1a18f3..95fb54e0f9 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]