Skip to content

Commit

Permalink
Use better way to skip falco events
Browse files Browse the repository at this point in the history
Use the new method falco_consider() to determine which events to
skip. This centralizes the logic in a single function.

This depends on draios/sysdig#1105.
  • Loading branch information
mstemm committed Apr 20, 2018
1 parent e922a84 commit ab65162
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions userspace/falco/falco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ uint64_t do_inspect(falco_engine *engine,
}
}

if(!inspector->is_debug_enabled() &&
ev->get_category() & EC_INTERNAL)
if(!evt->falco_consider())
{
continue;
}
Expand Down

0 comments on commit ab65162

Please sign in to comment.