webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
webkitpy.common.system.crashlogs.CrashLogs Class Reference
Inheritance diagram for webkitpy.common.system.crashlogs.CrashLogs:

Public Member Functions

def __init__ (self, host, results_directory=None)
 
def find_newest_log (self, process_name, pid=None, include_errors=False, newer_than=None)
 
def find_all_logs (self, include_errors=False, newer_than=None)
 
def get_timestamp_from_log (self, log_contents)
 

Static Public Attributes

 GLOBAL_PID_REGEX = re.compile(r'\s+Global\s+PID:\s+\[(?P<pid>\d+)\]')
 
 EXIT_PROCESS_PID_REGEX = re.compile(r'Exit process \d+:(?P<pid>\w+), code')
 

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.common.system.crashlogs.CrashLogs.__init__ (   self,
  host,
  results_directory = None 
)

Member Function Documentation

◆ find_all_logs()

def webkitpy.common.system.crashlogs.CrashLogs.find_all_logs (   self,
  include_errors = False,
  newer_than = None 
)

◆ find_newest_log()

def webkitpy.common.system.crashlogs.CrashLogs.find_newest_log (   self,
  process_name,
  pid = None,
  include_errors = False,
  newer_than = None 
)

◆ get_timestamp_from_log()

def webkitpy.common.system.crashlogs.CrashLogs.get_timestamp_from_log (   self,
  log_contents 
)

Member Data Documentation

◆ EXIT_PROCESS_PID_REGEX

webkitpy.common.system.crashlogs.CrashLogs.EXIT_PROCESS_PID_REGEX = re.compile(r'Exit process \d+:(?P<pid>\w+), code')
static

◆ GLOBAL_PID_REGEX

webkitpy.common.system.crashlogs.CrashLogs.GLOBAL_PID_REGEX = re.compile(r'\s+Global\s+PID:\s+\[(?P<pid>\d+)\]')
static

The documentation for this class was generated from the following file: