From 967d8f049fb6e11e5dc8a463c23f3e7cd5ce3a63 Mon Sep 17 00:00:00 2001 From: Shashank Mittal <mittals@codeaurora.org> Date: Fri, 21 Nov 2014 15:21:46 -0800 Subject: [PATCH] linux-ramdump-parser-v2: Pass debug data version to client functions. Pass debug data version to client functions while parsing debug image. Change-Id: Iab3d83182afbfdee8af0f90f5a7df91c0a8fc770 --- linux-ramdump-parser-v2/debug_image_v2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-ramdump-parser-v2/debug_image_v2.py b/linux-ramdump-parser-v2/debug_image_v2.py index 9734a3b..b031ecc 100755 --- a/linux-ramdump-parser-v2/debug_image_v2.py +++ b/linux-ramdump-parser-v2/debug_image_v2.py @@ -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) -- GitLab