From 929b19f485b7100d8caa322abb0987afd01b3883 Mon Sep 17 00:00:00 2001 From: thiagoftsm Date: Wed, 12 Jul 2023 16:49:48 +0000 Subject: eBPF Functions (enable/disable threads) (#15214) --- collectors/ebpf.plugin/ebpf.d/mount.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'collectors/ebpf.plugin/ebpf.d/mount.conf') diff --git a/collectors/ebpf.plugin/ebpf.d/mount.conf b/collectors/ebpf.plugin/ebpf.d/mount.conf index fdd82f2205..ff9a2948c6 100644 --- a/collectors/ebpf.plugin/ebpf.d/mount.conf +++ b/collectors/ebpf.plugin/ebpf.d/mount.conf @@ -12,8 +12,12 @@ # `trampoline`: This is the default mode used by the eBPF collector, due the small overhead added to host. # `tracepoint`: When available, the eBPF collector will use kernel tracepoint to monitor syscall. # `probe` : This is the same as legacy code. +# +# The `lifetime` defines the time length a thread will run when it is enabled by a function. +# [global] # ebpf load mode = entry # update every = 1 ebpf type format = auto ebpf co-re tracing = trampoline + lifetime = 300 -- cgit v1.2.3