Skip to content

Commit

Permalink
hash_table_charts: Remove unnecessary call
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm committed Jul 18, 2023
1 parent c9d8c8c commit cd92803
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion collectors/ebpf.plugin/ebpf_shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,6 @@ static void shm_collector(ebpf_module_t *em)
uint32_t lifetime = em->lifetime;
netdata_idx_t *stats = em->hash_table_stats;
memset(stats, 0, sizeof(em->hash_table_stats));
memset(stats, 0, sizeof(em->hash_table_stats));
while (!ebpf_exit_plugin && running_time < lifetime) {
(void)heartbeat_next(&hb, USEC_PER_SEC);
if (ebpf_exit_plugin || ++counter != update_every)
Expand Down

0 comments on commit cd92803

Please sign in to comment.