Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup(userspace/libsinsp): drop sinsp m_suppressed_comms unused field #2191

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice how we made an object class for that here.


//
Expand Down
Loading