parameters: (self, pid, actions)
return_statement: return ret
docstring: Get generic info from summary.
  
          @param pid: pid of the process. None for all
          @param actions: A list of actions to get
docstring_summary: Get generic info from summary.
docstring_tokens: Get generic info from summary .
function: def get_summary_generic(self, pid, actions):
          """Get generic info from summary.
  
          @param pid: pid of the process. None for all
          @param actions: A list of actions to get
          """
          ret = []
          for process in self.get_results("behavior", {}).get("generic", []):
              if pid is not None and process["pid"] != pid:
                  continue
  
              for action in actions:
                  if action in process["summary"]:
                      ret += process["summary"][action]
          return ret
function_tokens: def get_summary_generic ( self , pid , actions ) : ret = [ ] for process in self . get_results ( "behavior" , { } ) . get ( "generic" , [ ] ) : if pid is not None and process [ "pid" ] != pid : continue for action in actions : if action in process [ "summary" ] : ret += process [ "summary" ] [ action ] return ret