Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Oct 25, 2024
1 parent f46b6f1 commit b4c5af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions collector/lib/system-inspector/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ void Service::Init(const CollectorConfig& config, std::shared_ptr<ConnectionTrac

bool Service::InitKernel(const CollectorConfig& config) {
if (!inspector_) {
// TODO: https://github.com/falcosecurity/libs/pull/2016
// Once that change is pulled, fix compilation here by removing the first
// 4 arguments.
inspector_.reset(new sinsp(false, "", "", "", true));
inspector_.reset(new sinsp(true));

// peeking into arguments has a big overhead, so we prevent it from happening
inspector_->set_snaplen(0);
Expand Down

0 comments on commit b4c5af6

Please sign in to comment.