Skip to content

Commit

Permalink
cleanup(userspace/libsinsp): drop sinsp m_suppressed_comms unused f…
Browse files Browse the repository at this point in the history
…ield.

Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Dec 9, 2024
1 parent 4462fee commit 230ddfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion userspace/libsinsp/sinsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ sinsp::sinsp(bool with_metrics):
m_container_manager(this),
m_usergroup_manager(this),
m_async_events_queue(DEFAULT_ASYNC_EVENT_QUEUE_SIZE),
m_suppressed_comms(),
m_inited(false) {
++instance_count;
#if !defined(MINIMAL_BUILD) && !defined(__EMSCRIPTEN__)
Expand Down
4 changes: 0 additions & 4 deletions userspace/libsinsp/sinsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1201,10 +1201,6 @@ class SINSP_PUBLIC sinsp : public capture_stats_source {
uint64_t m_proc_scan_timeout_ms;
uint64_t m_proc_scan_log_interval_ms;

// Any thread with a comm in this set will not have its events
// returned in sinsp::next()
std::set<std::string> m_suppressed_comms;

libsinsp::sinsp_suppress m_suppress;

//
Expand Down

0 comments on commit 230ddfb

Please sign in to comment.