diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2023-10-11 08:46:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 11:46:23 +0000 |
commit | 2539cb7ee65f6c5a1e0ccd041aced7a9608b0369 (patch) | |
tree | c8aa4183a4238e36f7dd94643acadfc140a7ec2b /collectors/ebpf.plugin/ebpf_cgroup.c | |
parent | f7789e1a83fa819cb072b7d818aef1ceb79c1bcb (diff) |
Modify eBPF exit (#16159)
Diffstat (limited to 'collectors/ebpf.plugin/ebpf_cgroup.c')
-rw-r--r-- | collectors/ebpf.plugin/ebpf_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/ebpf.plugin/ebpf_cgroup.c b/collectors/ebpf.plugin/ebpf_cgroup.c index fd4e783db1..b1e2c07465 100644 --- a/collectors/ebpf.plugin/ebpf_cgroup.c +++ b/collectors/ebpf.plugin/ebpf_cgroup.c @@ -373,7 +373,7 @@ void *ebpf_cgroup_integration(void *ptr) heartbeat_t hb; heartbeat_init(&hb); //Plugin will be killed when it receives a signal - while (!ebpf_exit_plugin) { + while (!ebpf_plugin_exit) { (void)heartbeat_next(&hb, step); // We are using a small heartbeat time to wake up thread, |