Skip to content

Commit

Permalink
add support for the new *17* versions of clone, fork and vfork in sin…
Browse files Browse the repository at this point in the history
…sp_parser::reset
  • Loading branch information
ldegio committed Jan 21, 2015
1 parent e0bc8a9 commit d6f685f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion userspace/libsinsp/parsers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ bool sinsp_parser::reset(sinsp_evt *evt)
etype == PPME_SYSCALL_CLONE_16_X ||
etype == PPME_SYSCALL_FORK_X ||
etype == PPME_SYSCALL_VFORK_X ||
etype == PPME_SYSCALL_CLONE_17_X ||
etype == PPME_SYSCALL_FORK_17_X ||
etype == PPME_SYSCALL_VFORK_17_X ||
etype == PPME_SCHEDSWITCH_6_E)
{
query_os = false;
Expand All @@ -399,7 +402,10 @@ bool sinsp_parser::reset(sinsp_evt *evt)
if(etype == PPME_SYSCALL_CLONE_11_X ||
etype == PPME_SYSCALL_CLONE_16_X ||
etype == PPME_SYSCALL_FORK_X ||
etype == PPME_SYSCALL_VFORK_X)
etype == PPME_SYSCALL_VFORK_X ||
etype == PPME_SYSCALL_CLONE_17_X ||
etype == PPME_SYSCALL_FORK_17_X ||
etype == PPME_SYSCALL_VFORK_17_X)
{
#ifdef GATHER_INTERNAL_STATS
m_inspector->m_thread_manager->m_failed_lookups->decrement();
Expand Down

0 comments on commit d6f685f

Please sign in to comment.