Skip to content
Snippets Groups Projects
Commit b83f7a36 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "linux-ramdump-parser-v2: Pass debug data version to client functions."

parents ecb0f25e 967d8f04
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ class DebugImage_v2():
self.dump_table_id_lookup_table = []
self.dump_data_id_lookup_table = []
def parse_cpu_ctx(self, start, end, client_id, ram_dump):
def parse_cpu_ctx(self, version, start, end, client_id, ram_dump):
core = client_id - client.MSM_DUMP_DATA_CPU_CTX
print_out_str(
......@@ -82,7 +82,7 @@ class DebugImage_v2():
regs.dump_core_pc(ram_dump)
regs.dump_all_regs(ram_dump)
def parse_qdss_common(self, start, end, client_id, ram_dump):
def parse_qdss_common(self, version, start, end, client_id, ram_dump):
client_name = self.dump_data_id_lookup_table[client_id]
print_out_str(
......@@ -375,7 +375,7 @@ class DebugImage_v2():
continue
func = client_table[client_name]
getattr(DebugImage_v2, func)(self, dump_data_addr, dump_data_addr + dump_data_len,
getattr(DebugImage_v2, func)(self, dump_data_version, dump_data_addr, dump_data_addr + dump_data_len,
client_id, ram_dump)
self.qdss.dump_all(ram_dump)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment