Skip to content

Commit 393c3c0

Browse files
Fixed procinfo bug that showed procinfo events when digging in a container in csysdig.
1 parent 092628d commit 393c3c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

userspace/libsinsp/cursescomponents.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,11 @@ void curses_textbox::process_event_spy(sinsp_evt* evt, int32_t next_res)
793793

794794
void curses_textbox::process_event_dig(sinsp_evt* evt, int32_t next_res)
795795
{
796+
if(!m_inspector->is_debug_enabled() && evt->get_category() & EC_INTERNAL)
797+
{
798+
return;
799+
}
800+
796801
string line;
797802

798803
m_formatter->tostring(evt, &line);

0 commit comments

Comments
 (0)