def __init__(self, ramdump): self.qdss = QDSSDump() self.dump_type_lookup_table = [] self.dump_table_id_lookup_table = [] self.dump_data_id_lookup_table = [] version = re.findall(r'\d+', ramdump.version) if int(version[0]) > 3: self.event_call = 'struct trace_event_call' self.event_class = 'struct trace_event_class' else: self.event_call = 'struct ftrace_event_call' self.event_class = 'struct ftrace_event_class'
def __init__(self, *args): super(DebugImage, self).__init__(*args) self.qdss = QDSSDump() self.name_lookup_table = []
def __init__(self): self.qdss = QDSSDump() self.dump_type_lookup_table = [] self.dump_table_id_lookup_table = [] self.dump_data_id_lookup_table = []