Skip to content

Commit

Permalink
Start setting autodrop, which filters addl events (#351)
Browse files Browse the repository at this point in the history
To further reduce falco's cpu usage, start setting the inspector in
"autodrop" mode with a sampling ratio of 1. When autodrop mode is
enabled, a second class of events (those having EF_ALWAYS_DROP in the
syscall table, or those syscalls that do not have specific handling in
the syscall table) are also excluded.
  • Loading branch information
mstemm authored Apr 12, 2018
1 parent c5b3097 commit 5c58da2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userspace/falco/falco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ int falco_init(int argc, char **argv)
if(!all_events)
{
inspector->set_drop_event_flags(EF_DROP_FALCO);
inspector->start_dropping_mode(1);
}

if (describe_all_rules)
Expand Down

0 comments on commit 5c58da2

Please sign in to comment.