Permalink
Browse files

parse cgroups also from FORK and VFORK events

  • Loading branch information...
Luca Marturana
Luca Marturana committed May 4, 2016
1 parent f94cc67 commit 1d6bf842741fbcfc0c843860259356172820d08b
Showing with 2 additions and 0 deletions.
  1. +2 −0 userspace/libsinsp/parsers.cpp
@@ -1369,6 +1369,8 @@ void sinsp_parser::parse_clone_exit(sinsp_evt *evt)
//
switch(etype)
{
case PPME_SYSCALL_FORK_20_X:
case PPME_SYSCALL_VFORK_20_X:
case PPME_SYSCALL_CLONE_20_X:
parinfo = evt->get_param(14);
tinfo.set_cgroups(parinfo->m_val, parinfo->m_len);

0 comments on commit 1d6bf84

Please sign in to comment.