Skip to content

Commit

Permalink
cleanup(userspace/falco): set sinsp_stats_v2_enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Melissa Kilby <[email protected]>
  • Loading branch information
incertum committed Oct 25, 2023
1 parent 8ffa868 commit 6804506
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions userspace/falco/app/actions/helpers_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ falco::app::run_result falco::app::actions::open_live_inspector(
inspector->open_kmod(s.syscall_buffer_bytes_size, s.selected_sc_set);
}
}
if((s.config->m_metrics_flags & PPM_SCAP_STATS_STATE_COUNTERS))
{
inspector->set_sinsp_stats_v2_enabled(true);
}
}
catch (sinsp_exception &e)
{
Expand Down

0 comments on commit 6804506

Please sign in to comment.