Skip to content

Commit

Permalink
chore: leftover cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Kilby <[email protected]>
  • Loading branch information
incertum committed Jan 27, 2024
1 parent af7610b commit 82044f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion userspace/libsinsp/metrics_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ limitations under the License.
#include <sys/times.h>
#include <sys/stat.h>
#include <libsinsp/metrics_collector.h>
#include <libscap/strl.h>

static const char *const sinsp_stats_v2_resource_utilization_names[] = {
[SINSP_RESOURCE_UTILIZATION_CPU_PERC] = "cpu_usage_perc",
Expand Down
1 change: 1 addition & 0 deletions userspace/libsinsp/metrics_collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
#include <libscap/metrics_v2.h>
#include <libscap/scap_machine_info.h>
#include <libsinsp/threadinfo.h>
#include <libscap/strl.h>

struct sinsp_stats_v2
{
Expand Down
1 change: 0 additions & 1 deletion userspace/libsinsp/sinsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,6 @@ VISIBILITY_PRIVATE
const scap_machine_info* m_machine_info;
const scap_agent_info* m_agent_info;
std::shared_ptr<sinsp_stats_v2> 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;
Expand Down

0 comments on commit 82044f6

Please sign in to comment.