Skip to content

Commit

Permalink
Remove debug functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Marturana committed Jan 11, 2017
1 parent 7d3e737 commit 0549064
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion userspace/libsinsp/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ bool sinsp_container_manager::remove_inactive_containers()
{
if(containers_in_use.find(it->first) == containers_in_use.end())
{
cerr << __FUNCTION__ << ":" << __LINE__ << " remove container=" << it->first << endl;
m_containers.erase(it++);
}
else
Expand Down
2 changes: 0 additions & 2 deletions userspace/libsinsp/sinsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,6 @@ void sinsp::on_new_entry_from_proc(void* context,
auto sinsp_tinfo = find_thread(tid, true);
if(sinsp_tinfo == nullptr || newti.m_clone_ts > sinsp_tinfo->m_clone_ts)
{
cerr << __FUNCTION__ << ":" << __LINE__ << "add thread=" << newti.m_tid << " comm=" << newti.m_comm << endl;
m_thread_manager->add_thread(newti, true);
}
}
Expand Down Expand Up @@ -2101,7 +2100,6 @@ bool sinsp_thread_manager::remove_inactive_threads()
!scap_is_thread_alive(m_inspector->m_h, it->second.m_pid, it->first, it->second.m_comm.c_str()))
)
{
cerr << __FUNCTION__ << ":" << __LINE__ << "remove thread=" << it->second.m_tid << endl;
//
// Reset the cache
//
Expand Down

0 comments on commit 0549064

Please sign in to comment.