From 82044f6f958afed9747c52ef5ba7769425c17c42 Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Sat, 27 Jan 2024 01:21:15 +0000 Subject: [PATCH] chore: leftover cleanup Signed-off-by: Melissa Kilby --- userspace/libsinsp/metrics_collector.cpp | 1 - userspace/libsinsp/metrics_collector.h | 1 + userspace/libsinsp/sinsp.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/userspace/libsinsp/metrics_collector.cpp b/userspace/libsinsp/metrics_collector.cpp index 626926645b..5f27df9f29 100644 --- a/userspace/libsinsp/metrics_collector.cpp +++ b/userspace/libsinsp/metrics_collector.cpp @@ -23,7 +23,6 @@ limitations under the License. #include #include #include -#include static const char *const sinsp_stats_v2_resource_utilization_names[] = { [SINSP_RESOURCE_UTILIZATION_CPU_PERC] = "cpu_usage_perc", diff --git a/userspace/libsinsp/metrics_collector.h b/userspace/libsinsp/metrics_collector.h index e96251d0f5..42c2385b4b 100644 --- a/userspace/libsinsp/metrics_collector.h +++ b/userspace/libsinsp/metrics_collector.h @@ -21,6 +21,7 @@ limitations under the License. #include #include #include +#include struct sinsp_stats_v2 { diff --git a/userspace/libsinsp/sinsp.h b/userspace/libsinsp/sinsp.h index ee96e6dbfc..adbf88fa35 100644 --- a/userspace/libsinsp/sinsp.h +++ b/userspace/libsinsp/sinsp.h @@ -1080,7 +1080,6 @@ VISIBILITY_PRIVATE const scap_machine_info* m_machine_info; const scap_agent_info* m_agent_info; std::shared_ptr m_sinsp_stats_v2; - metrics_v2 m_sinsp_stats_v2_buffer[SINSP_MAX_STATS_V2]; uint32_t m_num_cpus; bool m_flush_memory_dump; bool m_large_envs_enabled;