refactor(userspace/falco): drop inspector dependency on load_rule_files action

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2022-06-28 12:16:52 +00:00
committed by poiana
parent 6d30061576
commit 97e3209222

View File

@@ -22,7 +22,8 @@ using namespace falco::app;
void application::check_for_ignored_events()
{
std::set<uint16_t> evttypes;
sinsp_evttables* einfo = m_state->inspector->get_event_info_tables();
std::unique_ptr<sinsp> inspector(new sinsp());
sinsp_evttables* einfo = inspector->get_event_info_tables();
const struct ppm_event_info* etable = einfo->m_event_info;
std::string source = falco_common::syscall_source;