(self, pid, actions)
return ret
Get generic info from summary.

        @param pid: pid of the process. None for all
        @param actions: A list of actions to get
Get generic info from summary.
Get generic info from summary .
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
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