summaryrefslogtreecommitdiffstats
path: root/src/collectors/ebpf.plugin/ebpf.c
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2024-07-11 12:08:30 +0000
committerGitHub <noreply@github.com>2024-07-11 12:08:30 +0000
commitb115fde31862e932ed1ff4fdd5119c514d62b3dd (patch)
treeec6048709994d2d9a934b0718771785f2a8bd937 /src/collectors/ebpf.plugin/ebpf.c
parenta420bfd386aeb3d0cb086fc9c02e4be2f755ebcb (diff)
eBPF cgroup and mutex (#17915)
Diffstat (limited to 'src/collectors/ebpf.plugin/ebpf.c')
-rw-r--r--src/collectors/ebpf.plugin/ebpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collectors/ebpf.plugin/ebpf.c b/src/collectors/ebpf.plugin/ebpf.c
index de2b6e1444..7c5974c775 100644
--- a/src/collectors/ebpf.plugin/ebpf.c
+++ b/src/collectors/ebpf.plugin/ebpf.c
@@ -4050,8 +4050,8 @@ int main(int argc, char **argv)
ebpf_create_statistic_charts(EBPF_DEFAULT_UPDATE_EVERY);
ebpf_send_statistic_data();
- pthread_mutex_unlock(&lock);
fflush(stdout);
+ pthread_mutex_unlock(&lock);
}
if (++update_apps_list == update_apps_every) {